Class CfnPipeline.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnPipeline>
- Enclosing class:
- CfnPipeline
CfnPipeline.- 
Method SummaryModifier 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.
 
- 
roleArnThe 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 no- actionRoleArn, or to use to assume roles for actions with an- actionRoleArn. This parameter is required.
- Returns:
- this
 
- 
stagesRepresents information about a stage and its definition.- Parameters:
- stages- Represents information about a stage and its definition. This parameter is required.
- Returns:
- this
 
- 
stagesRepresents information about a stage and its definition.- Parameters:
- stages- Represents information about a stage and its definition. This parameter is required.
- Returns:
- this
 
- 
artifactStoreThe 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
 
- 
artifactStoresA 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 of- artifactStoreobjects and their corresponding AWS Regions. This parameter is required.
- Returns:
- this
 
- 
artifactStoresA 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 of- artifactStoreobjects 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 a- DisableStageTransitionaction. 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 a- DisableStageTransitionaction. This parameter is required.
- Returns:
- this
 
- 
nameThe 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
 
- 
tagsSpecifies 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 interface- software.amazon.jsii.Builder<CfnPipeline>
- Returns:
- a newly built instance of CfnPipeline.
 
 
-