| Modifier and Type | Method and Description |
|---|---|
Pipeline.Builder |
artifactBucket(IBucket artifactBucket)
The S3 bucket used by this Pipeline to store artifacts.
|
Pipeline |
build() |
static Pipeline.Builder |
create(Construct scope,
String id) |
Pipeline.Builder |
crossRegionReplicationBuckets(Map<String,IBucket> crossRegionReplicationBuckets)
A map of region to S3 bucket name used for cross-region CodePipeline.
|
Pipeline.Builder |
pipelineName(String pipelineName)
Name of the pipeline.
|
Pipeline.Builder |
restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
Indicates whether to rerun the AWS CodePipeline pipeline after you update it.
|
Pipeline.Builder |
role(IRole role)
The IAM role to be assumed by this Pipeline.
|
Pipeline.Builder |
stages(List<StageProps> stages)
The list of Stages, in order, to create this Pipeline with.
|
@Stability(value=Stable) public static Pipeline.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Pipeline.Builder.@Stability(value=Stable) public Pipeline.Builder artifactBucket(IBucket artifactBucket)
Default: - A new S3 bucket will be created.
artifactBucket - The S3 bucket used by this Pipeline to store artifacts. This parameter is required.this@Stability(value=Experimental) public Pipeline.Builder crossRegionReplicationBuckets(Map<String,IBucket> crossRegionReplicationBuckets)
For every Action that you specify targeting a different region than the Pipeline itself, if you don't provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region.
Default: - None.
EXPERIMENTAL
crossRegionReplicationBuckets - A map of region to S3 bucket name used for cross-region CodePipeline. This parameter is required.this@Stability(value=Stable) public Pipeline.Builder pipelineName(String pipelineName)
Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.
pipelineName - Name of the pipeline. This parameter is required.this@Stability(value=Stable) public Pipeline.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
Default: false
restartExecutionOnUpdate - Indicates whether to rerun the AWS CodePipeline pipeline after you update it. This parameter is required.this@Stability(value=Stable) public Pipeline.Builder role(IRole role)
Default: a new IAM role will be created.
role - The IAM role to be assumed by this Pipeline. This parameter is required.this@Stability(value=Stable) public Pipeline.Builder stages(List<StageProps> stages)
You can always add more Stages later by calling {@link Pipeline#addStage}.
Default: - None.
stages - The list of Stages, in order, to create this Pipeline with. This parameter is required.thisCopyright © 2020. All rights reserved.