@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:29.080Z") @Stability(value=Experimental) public interface CdkPipelineProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CdkPipelineProps.Builder
A builder for
CdkPipelineProps |
static class |
CdkPipelineProps.Jsii$Proxy
An implementation for
CdkPipelineProps |
| Modifier and Type | Method and Description |
|---|---|
static CdkPipelineProps.Builder |
builder() |
default String |
getCdkCliVersion()
(experimental) CDK CLI version to use in pipeline.
|
Artifact |
getCloudAssemblyArtifact()
(experimental) The artifact you have defined to be the artifact to hold the cloudAssemblyArtifact for the synth action.
|
default Pipeline |
getCodePipeline()
(experimental) Existing CodePipeline to add deployment stages to.
|
default Boolean |
getCrossAccountKeys()
(experimental) Create KMS keys for cross-account deployments.
|
default String |
getPipelineName()
(experimental) Name of the pipeline.
|
default Boolean |
getSelfMutating()
(experimental) Whether the pipeline will update itself.
|
default IAction |
getSourceAction()
(experimental) The CodePipeline action used to retrieve the CDK app's source.
|
default SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
default IAction |
getSynthAction()
(experimental) The CodePipeline action build and synthesis step of the CDK app.
|
default IVpc |
getVpc()
(experimental) The VPC where to execute the CdkPipeline actions.
|
@Stability(value=Experimental) @NotNull Artifact getCloudAssemblyArtifact()
@Stability(value=Experimental) @Nullable default String getCdkCliVersion()
Some Actions in the pipeline will download and run a version of the CDK CLI. Specify the version here.
Default: - Latest version
@Stability(value=Experimental) @Nullable default Pipeline getCodePipeline()
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]
Default: - A new CodePipeline is automatically generated
@Stability(value=Experimental) @Nullable default Boolean getCrossAccountKeys()
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.
Default: true
@Stability(value=Experimental) @Nullable default String getPipelineName()
Can only be set if codePipeline is not set.
Default: - A name is automatically generated
@Stability(value=Experimental) @Nullable default Boolean getSelfMutating()
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.
Default: true
@Stability(value=Experimental) @Nullable default IAction getSourceAction()
Default: - Required unless `codePipeline` is given
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnetSelection()
Only used if 'vpc' is supplied.
Default: - All private subnets.
@Stability(value=Experimental) @Nullable default IAction getSynthAction()
Default: - Required unless `codePipeline` or `sourceAction` is given
@Stability(value=Experimental) @Nullable default IVpc getVpc()
Default: - No VPC
@Stability(value=Experimental) static CdkPipelineProps.Builder builder()
CdkPipelineProps.Builder of CdkPipelinePropsCopyright © 2021. All rights reserved.