@Stability(value=Stable) public static final class CfnPipeline.Builder extends Object implements software.amazon.jsii.Builder<CfnPipeline>
CfnPipeline.| Modifier and Type | Method and Description |
|---|---|
CfnPipeline.Builder |
artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
The S3 bucket where artifacts for the pipeline are stored.
|
CfnPipeline.Builder |
artifactStore(IResolvable artifactStore)
The S3 bucket where artifacts for the pipeline are stored.
|
CfnPipeline.Builder |
artifactStores(IResolvable artifactStores)
A mapping of `artifactStore` objects and their corresponding AWS Regions.
|
CfnPipeline.Builder |
artifactStores(List<? extends Object> artifactStores)
A mapping of `artifactStore` objects and their corresponding AWS Regions.
|
CfnPipeline |
build() |
static CfnPipeline.Builder |
create(Construct scope,
String id) |
CfnPipeline.Builder |
disableInboundStageTransitions(IResolvable disableInboundStageTransitions)
Represents the input of a `DisableStageTransition` action.
|
CfnPipeline.Builder |
disableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions)
Represents the input of a `DisableStageTransition` action.
|
CfnPipeline.Builder |
name(String name)
The name of the pipeline.
|
CfnPipeline.Builder |
restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
Indicates whether to rerun the CodePipeline pipeline after you update it.
|
CfnPipeline.Builder |
restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate)
Indicates whether to rerun the CodePipeline pipeline after you update it.
|
CfnPipeline.Builder |
roleArn(String 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` .
|
CfnPipeline.Builder |
stages(IResolvable stages)
Represents information about a stage and its definition.
|
CfnPipeline.Builder |
stages(List<? extends Object> stages)
Represents information about a stage and its definition.
|
CfnPipeline.Builder |
tags(List<? extends CfnTag> tags)
Specifies the tags applied to the pipeline.
|
@Stability(value=Stable) public static CfnPipeline.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnPipeline.ActionDeclarationProperty.Builder.@Stability(value=Stable) public CfnPipeline.Builder roleArn(String roleArn)
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.this@Stability(value=Stable) public CfnPipeline.Builder stages(IResolvable stages)
stages - Represents information about a stage and its definition. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder stages(List<? extends Object> stages)
stages - Represents information about a stage and its definition. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder artifactStore(IResolvable artifactStore)
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.
artifactStore - The S3 bucket where artifacts for the pipeline are stored. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
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.
artifactStore - The S3 bucket where artifacts for the pipeline are stored. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder artifactStores(IResolvable artifactStores)
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.
artifactStores - A mapping of `artifactStore` objects and their corresponding AWS Regions. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder artifactStores(List<? extends Object> artifactStores)
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.
artifactStores - A mapping of `artifactStore` objects and their corresponding AWS Regions. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder disableInboundStageTransitions(IResolvable disableInboundStageTransitions)
disableInboundStageTransitions - Represents the input of a `DisableStageTransition` action. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder disableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions)
disableInboundStageTransitions - Represents the input of a `DisableStageTransition` action. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder name(String name)
name - The name of the pipeline. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
restartExecutionOnUpdate - Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate)
restartExecutionOnUpdate - Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.this@Stability(value=Stable) public CfnPipeline.Builder tags(List<? extends CfnTag> tags)
tags - Specifies the tags applied to the pipeline. This parameter is required.this@Stability(value=Stable) public CfnPipeline build()
build in interface software.amazon.jsii.Builder<CfnPipeline>Copyright © 2022. All rights reserved.