@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.463Z") @Stability(value=Stable) public interface CfnPipelineProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
Object configuration;
CfnPipelineProps cfnPipelineProps = CfnPipelineProps.builder()
.roleArn("roleArn")
.stages(List.of(StageDeclarationProperty.builder()
.actions(List.of(ActionDeclarationProperty.builder()
.actionTypeId(ActionTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build())
.name("name")
// the properties below are optional
.configuration(configuration)
.inputArtifacts(List.of(InputArtifactProperty.builder()
.name("name")
.build()))
.namespace("namespace")
.outputArtifacts(List.of(OutputArtifactProperty.builder()
.name("name")
.build()))
.region("region")
.roleArn("roleArn")
.runOrder(123)
.build()))
.name("name")
// the properties below are optional
.blockers(List.of(BlockerDeclarationProperty.builder()
.name("name")
.type("type")
.build()))
.build()))
// the properties below are optional
.artifactStore(ArtifactStoreProperty.builder()
.location("location")
.type("type")
// the properties below are optional
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.build())
.artifactStores(List.of(ArtifactStoreMapProperty.builder()
.artifactStore(ArtifactStoreProperty.builder()
.location("location")
.type("type")
// the properties below are optional
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.build())
.region("region")
.build()))
.disableInboundStageTransitions(List.of(StageTransitionProperty.builder()
.reason("reason")
.stageName("stageName")
.build()))
.name("name")
.restartExecutionOnUpdate(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPipelineProps.Builder
A builder for
CfnPipelineProps |
static class |
CfnPipelineProps.Jsii$Proxy
An implementation for
CfnPipelineProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPipelineProps.Builder |
builder() |
default Object |
getArtifactStore()
The S3 bucket where artifacts for the pipeline are stored.
|
default Object |
getArtifactStores()
A mapping of `artifactStore` objects and their corresponding AWS Regions.
|
default Object |
getDisableInboundStageTransitions()
Represents the input of a `DisableStageTransition` action.
|
default String |
getName()
The name of the pipeline.
|
default Object |
getRestartExecutionOnUpdate()
Indicates whether to rerun the CodePipeline pipeline after you update it.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no `actionRoleArn` , or to use to assume roles for actions with an `actionRoleArn` .
|
Object |
getStages()
Represents information about a stage and its definition.
|
default List<CfnTag> |
getTags()
Specifies the tags applied to the pipeline.
|
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull Object getStages()
@Stability(value=Stable) @Nullable default Object getArtifactStore()
You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.
@Stability(value=Stable) @Nullable default Object getArtifactStores()
There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.
@Stability(value=Stable) @Nullable default Object getDisableInboundStageTransitions()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getRestartExecutionOnUpdate()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnPipelineProps.Builder builder()
CfnPipelineProps.Builder of CfnPipelinePropsCopyright © 2022. All rights reserved.