@Stability(value=Experimental) public static final class PipelineProps.Builder extends Object implements software.amazon.jsii.Builder<PipelineProps>
PipelineProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PipelineProps.Builder |
artifactBucket(IBucket artifactBucket)
Sets the value of
PipelineProps.getArtifactBucket() |
PipelineProps |
build()
Builds the configured instance.
|
PipelineProps.Builder |
crossAccountKeys(Boolean crossAccountKeys)
Sets the value of
PipelineProps.getCrossAccountKeys() |
PipelineProps.Builder |
crossRegionReplicationBuckets(Map<String,? extends IBucket> crossRegionReplicationBuckets)
Sets the value of
PipelineProps.getCrossRegionReplicationBuckets() |
PipelineProps.Builder |
pipelineName(String pipelineName)
Sets the value of
PipelineProps.getPipelineName() |
PipelineProps.Builder |
restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
Sets the value of
PipelineProps.getRestartExecutionOnUpdate() |
PipelineProps.Builder |
role(IRole role)
Sets the value of
PipelineProps.getRole() |
PipelineProps.Builder |
stages(List<? extends StageProps> stages)
Sets the value of
PipelineProps.getStages() |
@Stability(value=Experimental) public PipelineProps.Builder artifactBucket(IBucket artifactBucket)
PipelineProps.getArtifactBucket()artifactBucket - The S3 bucket used by this Pipeline to store artifacts.this@Stability(value=Experimental) public PipelineProps.Builder crossAccountKeys(Boolean crossAccountKeys)
PipelineProps.getCrossAccountKeys()crossAccountKeys - Create KMS keys for cross-account deployments.
This controls whether the pipeline is enabled for cross-account deployments.
By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month.
If you do not need cross-account deployments, you can set this to false to
not create those keys and save on that cost (the artifact bucket will be
encrypted with an AWS-managed key). However, cross-account deployments will
no longer be possible.
this@Stability(value=Experimental) public PipelineProps.Builder crossRegionReplicationBuckets(Map<String,? extends IBucket> crossRegionReplicationBuckets)
PipelineProps.getCrossRegionReplicationBuckets()crossRegionReplicationBuckets - A map of region to S3 bucket name used for cross-region CodePipeline.
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.this@Stability(value=Experimental) public PipelineProps.Builder pipelineName(String pipelineName)
PipelineProps.getPipelineName()pipelineName - Name of the pipeline.this@Stability(value=Experimental) public PipelineProps.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
PipelineProps.getRestartExecutionOnUpdate()restartExecutionOnUpdate - Indicates whether to rerun the AWS CodePipeline pipeline after you update it.this@Stability(value=Experimental) public PipelineProps.Builder role(IRole role)
PipelineProps.getRole()role - The IAM role to be assumed by this Pipeline.this@Stability(value=Experimental) public PipelineProps.Builder stages(List<? extends StageProps> stages)
PipelineProps.getStages()stages - The list of Stages, in order, to create this Pipeline with.
You can always add more Stages later by calling {@link Pipeline#addStage}.this@Stability(value=Experimental) public PipelineProps build()
build in interface software.amazon.jsii.Builder<PipelineProps>PipelinePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.