Class CodePipelineProps.Jsii$Proxy
- All Implemented Interfaces:
CodePipelineProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CodePipelineProps
CodePipelineProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.pipelines.CodePipelineProps
CodePipelineProps.Builder, CodePipelineProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CodePipelineProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCodePipelineProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal IBucketAn existing S3 Bucket to use for storing the pipeline's artifact.final CodeBuildOptionsAdditional customizations to apply to the asset publishing CodeBuild projects.final StringCDK CLI version to use in asset publishing steps.final StringCDK CLI version to use in self-mutation step.final CodeBuildOptionsCustomize the CodeBuild projects created for this pipeline.final PipelineAn existing Pipeline to be reused and built upon.final BooleanCreate KMS keys for the artifact buckets, allowing cross-account deployments.A map of region to S3 bucket name used for cross-region CodePipeline.final List<DockerCredential> A list of credentials used to authenticate to Docker registries.final BooleanEnable Docker for the self-mutate step.final BooleanEnable Docker for the 'synth' step.final BooleanEnable KMS key rotation for the generated KMS keys.final StringThe name of the CodePipeline pipeline.final PipelineTypeType of the pipeline.final BooleanPublish assets in multiple CodeBuild projects.final BooleanReuse the same cross region support stack for all pipelines in the App.final IRolegetRole()The IAM role to be assumed by this Pipeline.final BooleanWhether the pipeline will update itself.final CodeBuildOptionsAdditional customizations to apply to the self mutation CodeBuild projects.final IFileSetProducergetSynth()The build step that produces the CDK Cloud Assembly.final CodeBuildOptionsAdditional customizations to apply to the synthesize CodeBuild projects.final BooleanDeploy every stack by creating a change set and executing it.final BooleanUse pipeline service role for actions if no action role configured.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCodePipelineProps.Builder.
-
-
Method Details
-
getSynth
Description copied from interface:CodePipelinePropsThe build step that produces the CDK Cloud Assembly.The primary output of this step needs to be the
cdk.outdirectory generated by thecdk synthcommand.If you use a
ShellStephere and you don't configure an output directory, the output directory will automatically be assumed to becdk.out.- Specified by:
getSynthin interfaceCodePipelineProps
-
getArtifactBucket
Description copied from interface:CodePipelinePropsAn existing S3 Bucket to use for storing the pipeline's artifact.Default: - A new S3 bucket will be created.
- Specified by:
getArtifactBucketin interfaceCodePipelineProps
-
getAssetPublishingCodeBuildDefaults
Description copied from interface:CodePipelinePropsAdditional customizations to apply to the asset publishing CodeBuild projects.Default: - Only `codeBuildDefaults` are applied
- Specified by:
getAssetPublishingCodeBuildDefaultsin interfaceCodePipelineProps
-
getCdkAssetsCliVersion
Description copied from interface:CodePipelinePropsCDK CLI version to use in asset publishing steps.If you want to lock the
cdk-assetsversion used in the pipeline, by steps that are automatically generated for you, specify the version here.We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions.
Default: - Latest version
- Specified by:
getCdkAssetsCliVersionin interfaceCodePipelineProps- See Also:
-
getCliVersion
Description copied from interface:CodePipelinePropsCDK CLI version to use in self-mutation step.If you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here.
We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions.
If you do specify it, be aware that this version should always be equal to or higher than the version of the CDK framework used by the CDK app, when the CDK commands are run during your pipeline execution. When you change this version, the next time the
SelfMutatestep runs it will still be using the CLI of the the previous version that was in this property: it will only start using the new version afterSelfMutatecompletes successfully. That means that if you want to update both framework and CLI version, you should update the CLI version first, commit, push and deploy, and only then update the framework version.Default: - Latest version
- Specified by:
getCliVersionin interfaceCodePipelineProps
-
getCodeBuildDefaults
Description copied from interface:CodePipelinePropsCustomize the CodeBuild projects created for this pipeline.Default: - All projects run non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_7_0
- Specified by:
getCodeBuildDefaultsin interfaceCodePipelineProps
-
getCodePipeline
Description copied from interface:CodePipelinePropsAn existing Pipeline to be reused and built upon.[disable-awslint:ref-via-interface]
Default: - a new underlying pipeline is created.
- Specified by:
getCodePipelinein interfaceCodePipelineProps
-
getCrossAccountKeys
Description copied from interface:CodePipelinePropsCreate KMS keys for the artifact buckets, allowing cross-account deployments.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
- Specified by:
getCrossAccountKeysin interfaceCodePipelineProps
-
getCrossRegionReplicationBuckets
Description copied from interface:CodePipelinePropsA map of region to S3 bucket name used for cross-region CodePipeline.For every Action that you specify targeting a different region than the Pipeline itself, if you don't provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region. Passed directly through to the
.invalid reference
cp.PipelineDefault: - no cross region replication buckets.
- Specified by:
getCrossRegionReplicationBucketsin interfaceCodePipelineProps
-
getDockerCredentials
Description copied from interface:CodePipelinePropsA list of credentials used to authenticate to Docker registries.Specify any credentials necessary within the pipeline to build, synth, update, or publish assets.
Default: []
- Specified by:
getDockerCredentialsin interfaceCodePipelineProps
-
getDockerEnabledForSelfMutation
Description copied from interface:CodePipelinePropsEnable Docker for the self-mutate step.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
truefirst, commit and allow the pipeline to self-update, and only then use the Docker asset in the pipeline.Default: false
- Specified by:
getDockerEnabledForSelfMutationin interfaceCodePipelineProps
-
getDockerEnabledForSynth
Description copied from interface:CodePipelinePropsEnable Docker for the 'synth' step.Set 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-lib/aws-lambda-nodejslibrary.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
truefirst, commit and allow the pipeline to self-update, and only then use the bundled asset.Default: false
- Specified by:
getDockerEnabledForSynthin interfaceCodePipelineProps
-
getEnableKeyRotation
Description copied from interface:CodePipelinePropsEnable KMS key rotation for the generated KMS keys.By default KMS key rotation is disabled, but will add additional costs when enabled.
Default: - false (key rotation is disabled)
- Specified by:
getEnableKeyRotationin interfaceCodePipelineProps
-
getPipelineName
Description copied from interface:CodePipelinePropsThe name of the CodePipeline pipeline.Default: - Automatically generated
- Specified by:
getPipelineNamein interfaceCodePipelineProps
-
getPipelineType
Description copied from interface:CodePipelinePropsType of the pipeline.Default: - PipelineType.V2 if the feature flag `CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2` is true, PipelineType.V1 otherwise
- Specified by:
getPipelineTypein interfaceCodePipelineProps- See Also:
-
getPublishAssetsInParallel
Description copied from interface:CodePipelinePropsPublish assets in multiple CodeBuild projects.If 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
- Specified by:
getPublishAssetsInParallelin interfaceCodePipelineProps
-
getReuseCrossRegionSupportStacks
Description copied from interface:CodePipelinePropsReuse the same cross region support stack for all pipelines in the App.Default: - true (Use the same support stack for all pipelines in App)
- Specified by:
getReuseCrossRegionSupportStacksin interfaceCodePipelineProps
-
getRole
Description copied from interface:CodePipelinePropsThe IAM role to be assumed by this Pipeline.Default: - A new role is created
- Specified by:
getRolein interfaceCodePipelineProps
-
getSelfMutation
Description copied from interface:CodePipelinePropsWhether the pipeline will update itself.This needs to be set to
trueto allow the pipeline to reconfigure itself when assets or stages are being added to it, andtrueis the recommended setting.You can temporarily set this to
falsewhile you are iterating on the pipeline itself and prefer to deploy changes usingcdk deploy.Default: true
- Specified by:
getSelfMutationin interfaceCodePipelineProps
-
getSelfMutationCodeBuildDefaults
Description copied from interface:CodePipelinePropsAdditional customizations to apply to the self mutation CodeBuild projects.Default: - Only `codeBuildDefaults` are applied
- Specified by:
getSelfMutationCodeBuildDefaultsin interfaceCodePipelineProps
-
getSynthCodeBuildDefaults
Description copied from interface:CodePipelinePropsAdditional customizations to apply to the synthesize CodeBuild projects.Default: - Only `codeBuildDefaults` are applied
- Specified by:
getSynthCodeBuildDefaultsin interfaceCodePipelineProps
-
getUseChangeSets
Description copied from interface:CodePipelinePropsDeploy every stack by creating a change set and executing it.When enabled, creates a "Prepare" and "Execute" action for each stack. Disable to deploy the stack in one pipeline action.
Default: true
- Specified by:
getUseChangeSetsin interfaceCodePipelineProps
-
getUsePipelineRoleForActions
Description copied from interface:CodePipelinePropsUse pipeline service role for actions if no action role configured.Default: - false
- Specified by:
getUsePipelineRoleForActionsin interfaceCodePipelineProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-