@Stability(value=Experimental) public static final class CdkPipelineProps.Builder extends Object implements software.amazon.jsii.Builder<CdkPipelineProps>
CdkPipelineProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public CdkPipelineProps.Builder cloudAssemblyArtifact(Artifact cloudAssemblyArtifact)
CdkPipelineProps.getCloudAssemblyArtifact()cloudAssemblyArtifact - The artifact you have defined to be the artifact to hold the cloudAssemblyArtifact for the synth action. This parameter is required.this@Stability(value=Experimental) public CdkPipelineProps.Builder cdkCliVersion(String cdkCliVersion)
CdkPipelineProps.getCdkCliVersion()cdkCliVersion - CDK CLI version to use in pipeline.
Some Actions in the pipeline will download and run a version of the CDK
CLI. Specify the version here.this@Stability(value=Experimental) public CdkPipelineProps.Builder codePipeline(Pipeline codePipeline)
CdkPipelineProps.getCodePipeline()codePipeline - Existing CodePipeline to add deployment stages to.
Use this if you want more control over the CodePipeline that gets created.
You can choose to not pass this value, in which case a new CodePipeline is
created with default settings.
If you pass an existing CodePipeline, it should should have been created
with restartExecutionOnUpdate: true.
[disable-awslint:ref-via-interface]
this@Stability(value=Experimental) public CdkPipelineProps.Builder crossAccountKeys(Boolean crossAccountKeys)
CdkPipelineProps.getCrossAccountKeys()crossAccountKeys - Create KMS keys for cross-account deployments.
This controls whether the pipeline is enabled for cross-account deployments.
Can only be set if codePipeline is not set.
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 CdkPipelineProps.Builder pipelineName(String pipelineName)
CdkPipelineProps.getPipelineName()pipelineName - Name of the pipeline.
Can only be set if codePipeline is not set.this@Stability(value=Experimental) public CdkPipelineProps.Builder selfMutating(Boolean selfMutating)
CdkPipelineProps.getSelfMutating()selfMutating - Whether the pipeline will update itself.
This needs to be set to true to allow the pipeline to reconfigure
itself when assets or stages are being added to it, and true is the
recommended setting.
You can temporarily set this to false while you are iterating
on the pipeline itself and prefer to deploy changes using cdk deploy.
this@Stability(value=Experimental) public CdkPipelineProps.Builder sourceAction(IAction sourceAction)
CdkPipelineProps.getSourceAction()sourceAction - The CodePipeline action used to retrieve the CDK app's source.this@Stability(value=Experimental) public CdkPipelineProps.Builder subnetSelection(SubnetSelection subnetSelection)
CdkPipelineProps.getSubnetSelection()subnetSelection - Which subnets to use.
Only used if 'vpc' is supplied.this@Stability(value=Experimental) public CdkPipelineProps.Builder synthAction(IAction synthAction)
CdkPipelineProps.getSynthAction()synthAction - The CodePipeline action build and synthesis step of the CDK app.this@Stability(value=Experimental) public CdkPipelineProps.Builder vpc(IVpc vpc)
CdkPipelineProps.getVpc()vpc - The VPC where to execute the CdkPipeline actions.this@Stability(value=Experimental) public CdkPipelineProps build()
build in interface software.amazon.jsii.Builder<CdkPipelineProps>CdkPipelinePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.