@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-02T20:25:38.817Z")
@Deprecated
public interface CdkPipelineProps
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.
|
Modifier and Type | Method and Description |
---|---|
static CdkPipelineProps.Builder |
builder()
Deprecated.
|
default BuildSpec |
getAssetBuildSpec()
Deprecated.
|
default java.util.List<java.lang.String> |
getAssetPreInstallCommands()
Deprecated.
|
default java.lang.String |
getCdkCliVersion()
Deprecated.
|
Artifact |
getCloudAssemblyArtifact()
Deprecated.
|
default Pipeline |
getCodePipeline()
Deprecated.
|
default java.lang.Boolean |
getCrossAccountKeys()
Deprecated.
|
default java.util.List<DockerCredential> |
getDockerCredentials()
Deprecated.
|
default java.lang.Boolean |
getEnableKeyRotation()
Deprecated.
|
default java.lang.String |
getPipelineName()
Deprecated.
|
default java.lang.Boolean |
getSelfMutating()
Deprecated.
|
default BuildSpec |
getSelfMutationBuildSpec()
Deprecated.
|
default java.lang.Boolean |
getSinglePublisherPerType()
Deprecated.
|
default IAction |
getSourceAction()
Deprecated.
|
default SubnetSelection |
getSubnetSelection()
Deprecated.
|
default java.lang.Boolean |
getSupportDockerAssets()
Deprecated.
|
default IAction |
getSynthAction()
Deprecated.
|
default IVpc |
getVpc()
Deprecated.
|
@Deprecated Artifact getCloudAssemblyArtifact()
@Deprecated default BuildSpec getAssetBuildSpec()
Default: - none
@Deprecated default java.util.List<java.lang.String> getAssetPreInstallCommands()
Default: -
@Deprecated default java.lang.String getCdkCliVersion()
Some Actions in the pipeline will download and run a version of the CDK CLI. Specify the version here.
Default: - Latest version
@Deprecated 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
@Deprecated default java.lang.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
@Deprecated default java.util.List<DockerCredential> getDockerCredentials()
Specify any credentials necessary within the pipeline to build, synth, update, or publish assets.
Default: []
@Deprecated default java.lang.Boolean getEnableKeyRotation()
Cannot be set if crossAccountKeys
was set to false
.
Key rotation costs $1/month when enabled.
Default: - false (key rotation is disabled)
@Deprecated default java.lang.String getPipelineName()
Can only be set if codePipeline
is not set.
Default: - A name is automatically generated
@Deprecated default java.lang.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
@Deprecated default BuildSpec getSelfMutationBuildSpec()
Default: - none
@Deprecated default java.lang.Boolean getSinglePublisherPerType()
Default: false
@Deprecated default IAction getSourceAction()
Default: - Required unless `codePipeline` is given
@Deprecated default SubnetSelection getSubnetSelection()
Only used if 'vpc' is supplied.
Default: - All private subnets.
@Deprecated default java.lang.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
@Deprecated default IAction getSynthAction()
Default: - Required unless `codePipeline` or `sourceAction` is given
@Deprecated default IVpc getVpc()
Default: - No VPC
@Deprecated static CdkPipelineProps.Builder builder()
CdkPipelineProps.Builder
of CdkPipelineProps