@Stability(value=Experimental) @Internal public static final class CdkPipelineProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CdkPipelineProps
CdkPipelinePropssoftware.amazon.jsii.JsiiObject.InitializationModeCdkPipelineProps.Builder, CdkPipelineProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Artifact cloudAssemblyArtifact,
String cdkCliVersion,
Pipeline codePipeline,
Boolean crossAccountKeys,
String pipelineName,
Boolean selfMutating,
IAction sourceAction,
SubnetSelection subnetSelection,
IAction synthAction,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
CdkPipelineProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
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.
|
Pipeline |
getCodePipeline()
(experimental) Existing CodePipeline to add deployment stages to.
|
Boolean |
getCrossAccountKeys()
(experimental) Create KMS keys for cross-account deployments.
|
String |
getPipelineName()
(experimental) Name of the pipeline.
|
Boolean |
getSelfMutating()
(experimental) Whether the pipeline will update itself.
|
IAction |
getSourceAction()
(experimental) The CodePipeline action used to retrieve the CDK app's source.
|
SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
IAction |
getSynthAction()
(experimental) The CodePipeline action build and synthesis step of the CDK app.
|
IVpc |
getVpc()
(experimental) The VPC where to execute the CdkPipeline actions.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Artifact cloudAssemblyArtifact, String cdkCliVersion, Pipeline codePipeline, Boolean crossAccountKeys, String pipelineName, Boolean selfMutating, IAction sourceAction, SubnetSelection subnetSelection, IAction synthAction, IVpc vpc)
CdkPipelineProps.Builder.public final Artifact getCloudAssemblyArtifact()
CdkPipelinePropsgetCloudAssemblyArtifact in interface CdkPipelinePropspublic final String getCdkCliVersion()
CdkPipelinePropsSome Actions in the pipeline will download and run a version of the CDK CLI. Specify the version here.
Default: - Latest version
getCdkCliVersion in interface CdkPipelinePropspublic final Pipeline getCodePipeline()
CdkPipelinePropsUse 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
getCodePipeline in interface CdkPipelinePropspublic final Boolean getCrossAccountKeys()
CdkPipelinePropsThis 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
getCrossAccountKeys in interface CdkPipelinePropspublic final String getPipelineName()
CdkPipelineProps
Can only be set if codePipeline is not set.
Default: - A name is automatically generated
getPipelineName in interface CdkPipelinePropspublic final Boolean getSelfMutating()
CdkPipelineProps
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
getSelfMutating in interface CdkPipelinePropspublic final IAction getSourceAction()
CdkPipelinePropsDefault: - Required unless `codePipeline` is given
getSourceAction in interface CdkPipelinePropspublic final SubnetSelection getSubnetSelection()
CdkPipelinePropsOnly used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection in interface CdkPipelinePropspublic final IAction getSynthAction()
CdkPipelinePropsDefault: - Required unless `codePipeline` or `sourceAction` is given
getSynthAction in interface CdkPipelinePropspublic final IVpc getVpc()
CdkPipelinePropsDefault: - No VPC
getVpc in interface CdkPipelineProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.