@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.473Z") @Stability(value=Stable) public interface RepositoryProps extends software.amazon.jsii.JsiiSerializable
// Example automatically generated from non-compiling source. May contain errors.
Repository repo = Repository.Builder.create(this, "Repo")
.repositoryName("MyRepo")
.build();
Pipeline pipeline = Pipeline.Builder.create(this, "MyPipeline")
.pipelineName("MyPipeline")
.build();
Artifact sourceOutput = new Artifact();
CodeCommitSourceAction sourceAction = CodeCommitSourceAction.Builder.create()
.actionName("CodeCommit")
.repository(repo)
.output(sourceOutput)
.build();
pipeline.addStage(StageOptions.builder()
.stageName("Source")
.actions(List.of(sourceAction))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryProps.Builder
A builder for
RepositoryProps |
static class |
RepositoryProps.Jsii$Proxy
An implementation for
RepositoryProps |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryProps.Builder |
builder() |
default String |
getDescription()
A description of the repository.
|
String |
getRepositoryName()
Name of the repository.
|
@Stability(value=Stable) @NotNull String getRepositoryName()
This property is required for all CodeCommit repositories.
@Stability(value=Stable) @Nullable default String getDescription()
Use the description to identify the purpose of the repository.
Default: - No description.
@Stability(value=Stable) static RepositoryProps.Builder builder()
RepositoryProps.Builder of RepositoryPropsCopyright © 2021. All rights reserved.