@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:33:08.811Z") @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 BuildSpec |
getAssetBuildSpec()
(experimental) Custom BuildSpec that is merged with generated one (for asset publishing actions).
|
default List<String> |
getAssetPreInstallCommands()
(experimental) Additional commands to run before installing cdk-assets during the asset publishing step Use this to setup proxies or npm mirrors.
|
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 List<DockerCredential> |
getDockerCredentials()
(experimental) A list of credentials used to authenticate to Docker registries.
|
default String |
getPipelineName()
(experimental) Name of the pipeline.
|
default Boolean |
getSelfMutating()
(experimental) Whether the pipeline will update itself.
|
default BuildSpec |
getSelfMutationBuildSpec()
(experimental) Custom BuildSpec that is merged with generated one (for self-mutation stage).
|
default Boolean |
getSinglePublisherPerType()
(experimental) Whether this pipeline creates one asset upload action per asset type or one asset upload per asset.
|
default IAction |
getSourceAction()
(experimental) The CodePipeline action used to retrieve the CDK app's source.
|
default SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
default Boolean |
getSupportDockerAssets()
(experimental) Whether the pipeline needs to build Docker images in the UpdatePipeline stage.
|
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 BuildSpec getAssetBuildSpec()
Default: - none
@Stability(value=Experimental) @Nullable default List<String> getAssetPreInstallCommands()
Default: -
@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 List<DockerCredential> getDockerCredentials()
Specify any credentials necessary within the pipeline to build, synth, update, or publish assets.
Default: []
@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 BuildSpec getSelfMutationBuildSpec()
Default: - none
@Stability(value=Experimental) @Nullable default Boolean getSinglePublisherPerType()
Default: false
@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 Boolean getSupportDockerAssets()
If the UpdatePipeline stage tries to build a Docker image and this flag is not
set to true, the build step will run in non-privileged mode and consequently
will fail with a message like:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
This flag has an effect only if selfMutating is also true.
Default: - false
@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.