public static final class CfnPipeline.Builder
extends java.lang.Object
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(java.util.List<? extends java.lang.Object> artifactStores)
A mapping of `artifactStore` objects and their corresponding AWS Regions.
|
CfnPipeline |
build() |
static CfnPipeline.Builder |
create(Construct scope,
java.lang.String id) |
CfnPipeline.Builder |
disableInboundStageTransitions(IResolvable disableInboundStageTransitions)
Represents the input of a `DisableStageTransition` action.
|
CfnPipeline.Builder |
disableInboundStageTransitions(java.util.List<? extends java.lang.Object> disableInboundStageTransitions)
Represents the input of a `DisableStageTransition` action.
|
CfnPipeline.Builder |
name(java.lang.String name)
The name of the pipeline.
|
CfnPipeline.Builder |
restartExecutionOnUpdate(java.lang.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(java.lang.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(java.util.List<? extends java.lang.Object> stages)
Represents information about a stage and its definition.
|
CfnPipeline.Builder |
tags(java.util.List<? extends CfnTag> tags)
Specifies the tags applied to the pipeline.
|
public static CfnPipeline.Builder create(Construct scope, java.lang.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
.public CfnPipeline.Builder roleArn(java.lang.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
public CfnPipeline.Builder stages(IResolvable stages)
stages
- Represents information about a stage and its definition. This parameter is required.this
public CfnPipeline.Builder stages(java.util.List<? extends java.lang.Object> stages)
stages
- Represents information about a stage and its definition. This parameter is required.this
public CfnPipeline.Builder artifactStore(IResolvable artifactStore)
You must include either
artifactStore
orartifactStores
in 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
public CfnPipeline.Builder artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
You must include either
artifactStore
orartifactStores
in 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
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
artifactStore
orartifactStores
in 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
public CfnPipeline.Builder artifactStores(java.util.List<? extends java.lang.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
artifactStore
orartifactStores
in 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
public CfnPipeline.Builder disableInboundStageTransitions(IResolvable disableInboundStageTransitions)
disableInboundStageTransitions
- Represents the input of a `DisableStageTransition` action. This parameter is required.this
public CfnPipeline.Builder disableInboundStageTransitions(java.util.List<? extends java.lang.Object> disableInboundStageTransitions)
disableInboundStageTransitions
- Represents the input of a `DisableStageTransition` action. This parameter is required.this
public CfnPipeline.Builder name(java.lang.String name)
name
- The name of the pipeline. This parameter is required.this
public CfnPipeline.Builder restartExecutionOnUpdate(java.lang.Boolean restartExecutionOnUpdate)
restartExecutionOnUpdate
- Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.this
public CfnPipeline.Builder restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate)
restartExecutionOnUpdate
- Indicates whether to rerun the CodePipeline pipeline after you update it. This parameter is required.this
public CfnPipeline.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- Specifies the tags applied to the pipeline. This parameter is required.this
public CfnPipeline build()