@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.499Z") @Stability(value=Deprecated) @Deprecated public interface CdkPipelineProps extends software.amazon.jsii.JsiiSerializable
Example:
Artifact sourceArtifact = new Artifact();
Artifact cloudAssemblyArtifact = new Artifact();
CdkPipeline pipeline = CdkPipeline.Builder.create(this, "MyPipeline")
.cloudAssemblyArtifact(cloudAssemblyArtifact)
.synthAction(SimpleSynthAction.standardNpmSynth(StandardNpmSynthOptions.builder()
.sourceArtifact(sourceArtifact)
.cloudAssemblyArtifact(cloudAssemblyArtifact)
.environment(BuildEnvironment.builder()
.privileged(true)
.build())
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CdkPipelineProps.Builder
Deprecated.
|
static class |
CdkPipelineProps.Jsii$Proxy
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull Artifact getCloudAssemblyArtifact()
@Stability(value=Deprecated) @Deprecated @Nullable default BuildSpec getAssetBuildSpec()
Default: - none
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getAssetPreInstallCommands()
Default: -
@Stability(value=Deprecated) @Deprecated @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=Deprecated) @Deprecated @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 have been created
with restartExecutionOnUpdate: true.
[disable-awslint:ref-via-interface]
Default: - A new CodePipeline is automatically generated
@Stability(value=Deprecated) @Deprecated @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=Deprecated) @Deprecated @Nullable default List<DockerCredential> getDockerCredentials()
Specify any credentials necessary within the pipeline to build, synth, update, or publish assets.
Default: []
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getEnableKeyRotation()
Cannot be set if crossAccountKeys was set to false.
Key rotation costs $1/month when enabled.
Default: - false (key rotation is disabled)
@Stability(value=Deprecated) @Deprecated @Nullable default String getPipelineName()
Can only be set if codePipeline is not set.
Default: - A name is automatically generated
@Stability(value=Deprecated) @Deprecated @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=Deprecated) @Deprecated @Nullable default BuildSpec getSelfMutationBuildSpec()
Default: - none
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getSinglePublisherPerType()
Default: false
@Stability(value=Deprecated) @Deprecated @Nullable default IAction getSourceAction()
Default: - Required unless `codePipeline` is given
@Stability(value=Deprecated) @Deprecated @Nullable default SubnetSelection getSubnetSelection()
Only used if 'vpc' is supplied.
Default: - All private subnets.
@Stability(value=Deprecated) @Deprecated @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=Deprecated) @Deprecated @Nullable default IAction getSynthAction()
Default: - Required unless `codePipeline` or `sourceAction` is given
@Stability(value=Deprecated) @Deprecated @Nullable default IVpc getVpc()
Default: - No VPC
@Stability(value=Deprecated) @Deprecated static CdkPipelineProps.Builder builder()
CdkPipelineProps.Builder of CdkPipelinePropsCopyright © 2022. All rights reserved.