@Stability(value=Experimental) @Internal public static final class CodePipelineProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CodePipelineProps
CodePipelinePropssoftware.amazon.jsii.JsiiObject.InitializationModeCodePipelineProps.Builder, CodePipelineProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IFileSetProducer synth,
CodeBuildOptions assetPublishingCodeBuildDefaults,
String cliVersion,
CodeBuildOptions codeBuildDefaults,
Pipeline codePipeline,
Boolean crossAccountKeys,
List<? extends DockerCredential> dockerCredentials,
Boolean dockerEnabledForSelfMutation,
Boolean dockerEnabledForSynth,
String pipelineName,
Boolean publishAssetsInParallel,
Boolean selfMutation,
CodeBuildOptions selfMutationCodeBuildDefaults)
Constructor that initializes the object based on literal property values passed by the
CodePipelineProps.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) |
CodeBuildOptions |
getAssetPublishingCodeBuildDefaults()
(experimental) Additional customizations to apply to the asset publishing CodeBuild projects.
|
String |
getCliVersion()
(experimental) CDK CLI version to use in self-mutation and asset publishing steps.
|
CodeBuildOptions |
getCodeBuildDefaults()
(experimental) Customize the CodeBuild projects created for this pipeline.
|
Pipeline |
getCodePipeline()
(experimental) An existing Pipeline to be reused and built upon.
|
Boolean |
getCrossAccountKeys()
(experimental) Create KMS keys for the artifact buckets, allowing cross-account deployments.
|
List<DockerCredential> |
getDockerCredentials()
(experimental) A list of credentials used to authenticate to Docker registries.
|
Boolean |
getDockerEnabledForSelfMutation()
(experimental) Enable Docker for the self-mutate step.
|
Boolean |
getDockerEnabledForSynth()
(experimental) Enable Docker for the 'synth' step.
|
String |
getPipelineName()
(experimental) The name of the CodePipeline pipeline.
|
Boolean |
getPublishAssetsInParallel()
(experimental) Publish assets in multiple CodeBuild projects.
|
Boolean |
getSelfMutation()
(experimental) Whether the pipeline will update itself.
|
CodeBuildOptions |
getSelfMutationCodeBuildDefaults()
(experimental) Additional customizations to apply to the self mutation CodeBuild projects.
|
IFileSetProducer |
getSynth()
(experimental) The build step that produces the CDK Cloud Assembly.
|
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(IFileSetProducer synth, CodeBuildOptions assetPublishingCodeBuildDefaults, String cliVersion, CodeBuildOptions codeBuildDefaults, Pipeline codePipeline, Boolean crossAccountKeys, List<? extends DockerCredential> dockerCredentials, Boolean dockerEnabledForSelfMutation, Boolean dockerEnabledForSynth, String pipelineName, Boolean publishAssetsInParallel, Boolean selfMutation, CodeBuildOptions selfMutationCodeBuildDefaults)
CodePipelineProps.Builder.public final IFileSetProducer getSynth()
CodePipelineProps
The primary output of this step needs to be the cdk.out directory
generated by the cdk synth command.
If you use a ShellStep here and you don't configure an output directory,
the output directory will automatically be assumed to be cdk.out.
getSynth in interface CodePipelinePropspublic final CodeBuildOptions getAssetPublishingCodeBuildDefaults()
CodePipelinePropsDefault: - Only `codeBuildProjectDefaults` are applied
getAssetPublishingCodeBuildDefaults in interface CodePipelinePropspublic final String getCliVersion()
CodePipelinePropsIf you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here.
You should not typically need to specify this value.
Default: - Latest version
getCliVersion in interface CodePipelinePropspublic final CodeBuildOptions getCodeBuildDefaults()
CodePipelinePropsDefault: - All projects run non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_5_0
getCodeBuildDefaults in interface CodePipelinePropspublic final Pipeline getCodePipeline()
CodePipelineProps[disable-awslint:ref-via-interface]
Default: - a new underlying pipeline is created.
getCodePipeline in interface CodePipelinePropspublic final Boolean getCrossAccountKeys()
CodePipelineProps
The artifact buckets have to be encrypted to support deploying CDK apps to
another account, so if you want to do that or want to have your artifact
buckets encrypted, be sure to set this value to true.
Be aware there is a cost associated with maintaining the KMS keys.
Default: false
getCrossAccountKeys in interface CodePipelinePropspublic final List<DockerCredential> getDockerCredentials()
CodePipelinePropsSpecify any credentials necessary within the pipeline to build, synth, update, or publish assets.
Default: []
getDockerCredentials in interface CodePipelinePropspublic final Boolean getDockerEnabledForSelfMutation()
CodePipelineProps
Set this to true if the pipeline itself uses Docker container assets
(for example, if you use LinuxBuildImage.fromAsset() as the build
image of a CodeBuild step in the pipeline).
You do not need to set it if you build Docker image assets in the application Stages and Stacks that are deployed by this pipeline.
Configures privileged mode for the self-mutation CodeBuild action.
If you are about to turn this on in an already-deployed Pipeline,
set the value to true first, commit and allow the pipeline to
self-update, and only then use the Docker asset in the pipeline.
Default: false
getDockerEnabledForSelfMutation in interface CodePipelinePropspublic final Boolean getDockerEnabledForSynth()
CodePipelinePropsSet this to true if you are using file assets that require "bundling" anywhere in your application (meaning an asset compilation step will be run with the tools provided by a Docker image), both for the Pipeline stack as well as the application stacks.
A common way to use bundling assets in your application is by
using the @aws-cdk/aws-lambda-nodejs library.
Configures privileged mode for the synth CodeBuild action.
If you are about to turn this on in an already-deployed Pipeline,
set the value to true first, commit and allow the pipeline to
self-update, and only then use the bundled asset.
Default: false
getDockerEnabledForSynth in interface CodePipelinePropspublic final String getPipelineName()
CodePipelinePropsDefault: - Automatically generated
getPipelineName in interface CodePipelinePropspublic final Boolean getPublishAssetsInParallel()
CodePipelinePropsIf set to false, use one Project per type to publish all assets.
Publishing in parallel improves concurrency and may reduce publishing latency, but may also increase overall provisioning time of the CodeBuild projects.
Experiment and see what value works best for you.
Default: true
getPublishAssetsInParallel in interface CodePipelinePropspublic final Boolean getSelfMutation()
CodePipelineProps
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
getSelfMutation in interface CodePipelinePropspublic final CodeBuildOptions getSelfMutationCodeBuildDefaults()
CodePipelinePropsDefault: - Only `codeBuildProjectDefaults` are applied
getSelfMutationCodeBuildDefaults in interface CodePipelineProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.