Class CfnPipeline.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline>
- Enclosing class:
- CfnPipeline
CfnPipeline.-
Method Summary
Modifier and TypeMethodDescriptionartifactStore(IResolvable artifactStore) The S3 bucket where artifacts for the pipeline are stored.artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore) The S3 bucket where artifacts for the pipeline are stored.artifactStores(List<? extends Object> artifactStores) A mapping ofartifactStoreobjects and their corresponding AWS Regions.artifactStores(IResolvable artifactStores) A mapping ofartifactStoreobjects and their corresponding AWS Regions.build()static CfnPipeline.BuilderdisableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions) Represents the input of aDisableStageTransitionaction.disableInboundStageTransitions(IResolvable disableInboundStageTransitions) Represents the input of aDisableStageTransitionaction.The name of the pipeline.restartExecutionOnUpdate(Boolean restartExecutionOnUpdate) Indicates whether to rerun the CodePipeline pipeline after you update it.restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate) Indicates whether to rerun the CodePipeline pipeline after you update it.The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn.Represents information about a stage and its definition.stages(IResolvable stages) Represents information about a stage and its definition.Specifies the tags applied to the pipeline.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnPipeline.Builder.
-
roleArn
The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn.- Parameters:
roleArn- The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn. This parameter is required.- Returns:
this
-
stages
Represents information about a stage and its definition.- Parameters:
stages- Represents information about a stage and its definition. This parameter is required.- Returns:
this
-
stages
Represents information about a stage and its definition.- Parameters:
stages- Represents information about a stage and its definition. This parameter is required.- Returns:
this
-
artifactStore
The S3 bucket where artifacts for the pipeline are stored.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.- Parameters:
artifactStore- The S3 bucket where artifacts for the pipeline are stored. This parameter is required.- Returns:
this
-
artifactStore
@Stability(Stable) public CfnPipeline.Builder artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore) The S3 bucket where artifacts for the pipeline are stored.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.- Parameters:
artifactStore- The S3 bucket where artifacts for the pipeline are stored. This parameter is required.- Returns:
this
-
artifactStores
A mapping ofartifactStoreobjects and their corresponding AWS Regions.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.- Parameters:
artifactStores- A mapping ofartifactStoreobjects and their corresponding AWS Regions. This parameter is required.- Returns:
this
-
artifactStores
A mapping ofartifactStoreobjects and their corresponding AWS Regions.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.- Parameters:
artifactStores- A mapping ofartifactStoreobjects and their corresponding AWS Regions. This parameter is required.- Returns:
this
-
disableInboundStageTransitions
@Stability(Stable) public CfnPipeline.Builder disableInboundStageTransitions(IResolvable disableInboundStageTransitions) Represents the input of aDisableStageTransitionaction.- Parameters:
disableInboundStageTransitions- Represents the input of aDisableStageTransitionaction. This parameter is required.- Returns:
this
-
disableInboundStageTransitions
@Stability(Stable) public CfnPipeline.Builder disableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions) Represents the input of aDisableStageTransitionaction.- Parameters:
disableInboundStageTransitions- Represents the input of aDisableStageTransitionaction. This parameter is required.- Returns:
this
-
name
The name of the pipeline.- Parameters:
name- The name of the pipeline. This parameter is required.- Returns:
this
-
restartExecutionOnUpdate
@Stability(Stable) public CfnPipeline.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate) Indicates whether to rerun the CodePipeline pipeline after you update it.- Parameters:
restartExecutionOnUpdate- Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.- Returns:
this
-
restartExecutionOnUpdate
@Stability(Stable) public CfnPipeline.Builder restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate) Indicates whether to rerun the CodePipeline pipeline after you update it.- Parameters:
restartExecutionOnUpdate- Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.- Returns:
this
-
tags
Specifies the tags applied to the pipeline.- Parameters:
tags- Specifies the tags applied to the pipeline. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline>- Returns:
- a newly built instance of
CfnPipeline.
-