Class: AWSCDK::Pipelines::CodePipelineProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipelines::CodePipelineProps
- Defined in:
- pipelines/code_pipeline_props.rb
Overview
Properties for a CodePipeline.
Instance Attribute Summary collapse
-
#artifact_bucket ⇒ AWSCDK::S3::IBucket?
readonly
An existing S3 Bucket to use for storing the pipeline's artifact.
-
#asset_publishing_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions?
readonly
Additional customizations to apply to the asset publishing CodeBuild projects.
-
#cdk_assets_cli_version ⇒ String?
readonly
CDK CLI version to use in asset publishing steps.
-
#cli_version ⇒ String?
readonly
CDK CLI version to use in self-mutation step.
-
#code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions?
readonly
Customize the CodeBuild projects created for this pipeline.
-
#code_pipeline ⇒ AWSCDK::Codepipeline::Pipeline?
readonly
An existing Pipeline to be reused and built upon.
-
#cross_account_keys ⇒ Boolean?
readonly
Create KMS keys for the artifact buckets, allowing cross-account deployments.
-
#cross_region_replication_buckets ⇒ Hash{String => AWSCDK::S3::IBucket}?
readonly
A map of region to S3 bucket name used for cross-region CodePipeline.
-
#docker_credentials ⇒ Array<AWSCDK::Pipelines::DockerCredential>?
readonly
A list of credentials used to authenticate to Docker registries.
-
#docker_enabled_for_self_mutation ⇒ Boolean?
readonly
Enable Docker for the self-mutate step.
-
#docker_enabled_for_synth ⇒ Boolean?
readonly
Enable Docker for the 'synth' step.
-
#enable_key_rotation ⇒ Boolean?
readonly
Enable KMS key rotation for the generated KMS keys.
-
#pipeline_name ⇒ String?
readonly
The name of the CodePipeline pipeline.
-
#pipeline_type ⇒ AWSCDK::Codepipeline::PipelineType?
readonly
Type of the pipeline.
-
#publish_assets_in_parallel ⇒ Boolean?
readonly
Publish assets in multiple CodeBuild projects.
-
#reuse_cross_region_support_stacks ⇒ Boolean?
readonly
Reuse the same cross region support stack for all pipelines in the App.
-
#role ⇒ AWSCDK::IAM::IRole?
readonly
The IAM role to be assumed by this Pipeline.
-
#self_mutation ⇒ Boolean?
readonly
Whether the pipeline will update itself.
-
#self_mutation_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions?
readonly
Additional customizations to apply to the self mutation CodeBuild projects.
-
#synth ⇒ AWSCDK::Pipelines::IFileSetProducer
readonly
The build step that produces the CDK Cloud Assembly.
-
#synth_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions?
readonly
Additional customizations to apply to the synthesize CodeBuild projects.
-
#use_change_sets ⇒ Boolean?
readonly
Deploy every stack by creating a change set and executing it.
-
#use_pipeline_role_for_actions ⇒ Boolean?
readonly
Use pipeline service role for actions if no action role configured.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(synth:, artifact_bucket: nil, asset_publishing_code_build_defaults: nil, cdk_assets_cli_version: nil, cli_version: nil, code_build_defaults: nil, code_pipeline: nil, cross_account_keys: nil, cross_region_replication_buckets: nil, docker_credentials: nil, docker_enabled_for_self_mutation: nil, docker_enabled_for_synth: nil, enable_key_rotation: nil, pipeline_name: nil, pipeline_type: nil, publish_assets_in_parallel: nil, reuse_cross_region_support_stacks: nil, role: nil, self_mutation: nil, self_mutation_code_build_defaults: nil, synth_code_build_defaults: nil, use_change_sets: nil, use_pipeline_role_for_actions: nil) ⇒ CodePipelineProps
constructor
A new instance of CodePipelineProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(synth:, artifact_bucket: nil, asset_publishing_code_build_defaults: nil, cdk_assets_cli_version: nil, cli_version: nil, code_build_defaults: nil, code_pipeline: nil, cross_account_keys: nil, cross_region_replication_buckets: nil, docker_credentials: nil, docker_enabled_for_self_mutation: nil, docker_enabled_for_synth: nil, enable_key_rotation: nil, pipeline_name: nil, pipeline_type: nil, publish_assets_in_parallel: nil, reuse_cross_region_support_stacks: nil, role: nil, self_mutation: nil, self_mutation_code_build_defaults: nil, synth_code_build_defaults: nil, use_change_sets: nil, use_pipeline_role_for_actions: nil) ⇒ CodePipelineProps
Returns a new instance of CodePipelineProps.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'pipelines/code_pipeline_props.rb', line 30 def initialize(synth:, artifact_bucket: nil, asset_publishing_code_build_defaults: nil, cdk_assets_cli_version: nil, cli_version: nil, code_build_defaults: nil, code_pipeline: nil, cross_account_keys: nil, cross_region_replication_buckets: nil, docker_credentials: nil, docker_enabled_for_self_mutation: nil, docker_enabled_for_synth: nil, enable_key_rotation: nil, pipeline_name: nil, pipeline_type: nil, publish_assets_in_parallel: nil, reuse_cross_region_support_stacks: nil, role: nil, self_mutation: nil, self_mutation_code_build_defaults: nil, synth_code_build_defaults: nil, use_change_sets: nil, use_pipeline_role_for_actions: nil) @synth = synth Jsii::Type.check_type(@synth, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuSUZpbGVTZXRQcm9kdWNlciJ9")), "synth") @artifact_bucket = artifact_bucket Jsii::Type.check_type(@artifact_bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfczMuSUJ1Y2tldCJ9")), "artifactBucket") unless @artifact_bucket.nil? @asset_publishing_code_build_defaults = asset_publishing_code_build_defaults.is_a?(Hash) ? ::AWSCDK::Pipelines::CodeBuildOptions.new(**asset_publishing_code_build_defaults.transform_keys(&:to_sym)) : asset_publishing_code_build_defaults Jsii::Type.check_type(@asset_publishing_code_build_defaults, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuQ29kZUJ1aWxkT3B0aW9ucyJ9")), "assetPublishingCodeBuildDefaults") unless @asset_publishing_code_build_defaults.nil? @cdk_assets_cli_version = cdk_assets_cli_version Jsii::Type.check_type(@cdk_assets_cli_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cdkAssetsCliVersion") unless @cdk_assets_cli_version.nil? @cli_version = cli_version Jsii::Type.check_type(@cli_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cliVersion") unless @cli_version.nil? @code_build_defaults = code_build_defaults.is_a?(Hash) ? ::AWSCDK::Pipelines::CodeBuildOptions.new(**code_build_defaults.transform_keys(&:to_sym)) : code_build_defaults Jsii::Type.check_type(@code_build_defaults, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuQ29kZUJ1aWxkT3B0aW9ucyJ9")), "codeBuildDefaults") unless @code_build_defaults.nil? @code_pipeline = code_pipeline Jsii::Type.check_type(@code_pipeline, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZXBpcGVsaW5lLlBpcGVsaW5lIn0=")), "codePipeline") unless @code_pipeline.nil? @cross_account_keys = cross_account_keys Jsii::Type.check_type(@cross_account_keys, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "crossAccountKeys") unless @cross_account_keys.nil? @cross_region_replication_buckets = cross_region_replication_buckets Jsii::Type.check_type(@cross_region_replication_buckets, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5JQnVja2V0In0sImtpbmQiOiJtYXAifX0=")), "crossRegionReplicationBuckets") unless @cross_region_replication_buckets.nil? @docker_credentials = docker_credentials Jsii::Type.check_type(@docker_credentials, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLnBpcGVsaW5lcy5Eb2NrZXJDcmVkZW50aWFsIn0sImtpbmQiOiJhcnJheSJ9fQ==")), "dockerCredentials") unless @docker_credentials.nil? @docker_enabled_for_self_mutation = docker_enabled_for_self_mutation Jsii::Type.check_type(@docker_enabled_for_self_mutation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "dockerEnabledForSelfMutation") unless @docker_enabled_for_self_mutation.nil? @docker_enabled_for_synth = docker_enabled_for_synth Jsii::Type.check_type(@docker_enabled_for_synth, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "dockerEnabledForSynth") unless @docker_enabled_for_synth.nil? @enable_key_rotation = enable_key_rotation Jsii::Type.check_type(@enable_key_rotation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "enableKeyRotation") unless @enable_key_rotation.nil? @pipeline_name = pipeline_name Jsii::Type.check_type(@pipeline_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pipelineName") unless @pipeline_name.nil? @pipeline_type = pipeline_type Jsii::Type.check_type(@pipeline_type, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZXBpcGVsaW5lLlBpcGVsaW5lVHlwZSJ9")), "pipelineType") unless @pipeline_type.nil? @publish_assets_in_parallel = publish_assets_in_parallel Jsii::Type.check_type(@publish_assets_in_parallel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "publishAssetsInParallel") unless @publish_assets_in_parallel.nil? @reuse_cross_region_support_stacks = reuse_cross_region_support_stacks Jsii::Type.check_type(@reuse_cross_region_support_stacks, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "reuseCrossRegionSupportStacks") unless @reuse_cross_region_support_stacks.nil? @role = role Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "role") unless @role.nil? @self_mutation = self_mutation Jsii::Type.check_type(@self_mutation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "selfMutation") unless @self_mutation.nil? @self_mutation_code_build_defaults = self_mutation_code_build_defaults.is_a?(Hash) ? ::AWSCDK::Pipelines::CodeBuildOptions.new(**self_mutation_code_build_defaults.transform_keys(&:to_sym)) : self_mutation_code_build_defaults Jsii::Type.check_type(@self_mutation_code_build_defaults, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuQ29kZUJ1aWxkT3B0aW9ucyJ9")), "selfMutationCodeBuildDefaults") unless @self_mutation_code_build_defaults.nil? @synth_code_build_defaults = synth_code_build_defaults.is_a?(Hash) ? ::AWSCDK::Pipelines::CodeBuildOptions.new(**synth_code_build_defaults.transform_keys(&:to_sym)) : synth_code_build_defaults Jsii::Type.check_type(@synth_code_build_defaults, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5waXBlbGluZXMuQ29kZUJ1aWxkT3B0aW9ucyJ9")), "synthCodeBuildDefaults") unless @synth_code_build_defaults.nil? @use_change_sets = use_change_sets Jsii::Type.check_type(@use_change_sets, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "useChangeSets") unless @use_change_sets.nil? @use_pipeline_role_for_actions = use_pipeline_role_for_actions Jsii::Type.check_type(@use_pipeline_role_for_actions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "usePipelineRoleForActions") unless @use_pipeline_role_for_actions.nil? end |
Instance Attribute Details
#artifact_bucket ⇒ AWSCDK::S3::IBucket? (readonly)
Default: - A new S3 bucket will be created.
An existing S3 Bucket to use for storing the pipeline's artifact.
93 94 95 |
# File 'pipelines/code_pipeline_props.rb', line 93 def artifact_bucket @artifact_bucket end |
#asset_publishing_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions? (readonly)
Default: - Only codeBuildDefaults are applied
Additional customizations to apply to the asset publishing CodeBuild projects.
98 99 100 |
# File 'pipelines/code_pipeline_props.rb', line 98 def asset_publishing_code_build_defaults @asset_publishing_code_build_defaults end |
#cdk_assets_cli_version ⇒ String? (readonly)
Default: - Latest version
CDK CLI version to use in asset publishing steps.
If you want to lock the cdk-assets 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.
110 111 112 |
# File 'pipelines/code_pipeline_props.rb', line 110 def cdk_assets_cli_version @cdk_assets_cli_version end |
#cli_version ⇒ String? (readonly)
Default: - Latest version
CDK 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 SelfMutate step 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 after SelfMutate completes 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.
131 132 133 |
# File 'pipelines/code_pipeline_props.rb', line 131 def cli_version @cli_version end |
#code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions? (readonly)
Default: - All projects run non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_7_0
Customize the CodeBuild projects created for this pipeline.
136 137 138 |
# File 'pipelines/code_pipeline_props.rb', line 136 def code_build_defaults @code_build_defaults end |
#code_pipeline ⇒ AWSCDK::Codepipeline::Pipeline? (readonly)
Default: - a new underlying pipeline is created.
An existing Pipeline to be reused and built upon.
[disable-awslint:ref-via-interface]
143 144 145 |
# File 'pipelines/code_pipeline_props.rb', line 143 def code_pipeline @code_pipeline end |
#cross_account_keys ⇒ Boolean? (readonly)
Default: false
Create 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.
154 155 156 |
# File 'pipelines/code_pipeline_props.rb', line 154 def cross_account_keys @cross_account_keys end |
#cross_region_replication_buckets ⇒ Hash{String => AWSCDK::S3::IBucket}? (readonly)
Default: - no cross region replication buckets.
A 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 cp.Pipeline.
164 165 166 |
# File 'pipelines/code_pipeline_props.rb', line 164 def cross_region_replication_buckets @cross_region_replication_buckets end |
#docker_credentials ⇒ Array<AWSCDK::Pipelines::DockerCredential>? (readonly)
Default: []
A list of credentials used to authenticate to Docker registries.
Specify any credentials necessary within the pipeline to build, synth, update, or publish assets.
171 172 173 |
# File 'pipelines/code_pipeline_props.rb', line 171 def docker_credentials @docker_credentials end |
#docker_enabled_for_self_mutation ⇒ Boolean? (readonly)
Default: false
Enable 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 true first, commit and allow the pipeline to
self-update, and only then use the Docker asset in the pipeline.
189 190 191 |
# File 'pipelines/code_pipeline_props.rb', line 189 def docker_enabled_for_self_mutation @docker_enabled_for_self_mutation end |
#docker_enabled_for_synth ⇒ Boolean? (readonly)
Default: false
Enable 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-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.
209 210 211 |
# File 'pipelines/code_pipeline_props.rb', line 209 def docker_enabled_for_synth @docker_enabled_for_synth end |
#enable_key_rotation ⇒ Boolean? (readonly)
Default: - false (key rotation is disabled)
Enable KMS key rotation for the generated KMS keys.
By default KMS key rotation is disabled, but will add additional costs when enabled.
217 218 219 |
# File 'pipelines/code_pipeline_props.rb', line 217 def enable_key_rotation @enable_key_rotation end |
#pipeline_name ⇒ String? (readonly)
Default: - Automatically generated
The name of the CodePipeline pipeline.
222 223 224 |
# File 'pipelines/code_pipeline_props.rb', line 222 def pipeline_name @pipeline_name end |
#pipeline_type ⇒ AWSCDK::Codepipeline::PipelineType? (readonly)
Default: - PipelineType.V2 if the feature flag CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2 is true, PipelineType.V1 otherwise
Type of the pipeline.
228 229 230 |
# File 'pipelines/code_pipeline_props.rb', line 228 def pipeline_type @pipeline_type end |
#publish_assets_in_parallel ⇒ Boolean? (readonly)
Default: true
Publish 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.
241 242 243 |
# File 'pipelines/code_pipeline_props.rb', line 241 def publish_assets_in_parallel @publish_assets_in_parallel end |
#reuse_cross_region_support_stacks ⇒ Boolean? (readonly)
Default: - true (Use the same support stack for all pipelines in App)
Reuse the same cross region support stack for all pipelines in the App.
246 247 248 |
# File 'pipelines/code_pipeline_props.rb', line 246 def reuse_cross_region_support_stacks @reuse_cross_region_support_stacks end |
#role ⇒ AWSCDK::IAM::IRole? (readonly)
Default: - A new role is created
The IAM role to be assumed by this Pipeline.
251 252 253 |
# File 'pipelines/code_pipeline_props.rb', line 251 def role @role end |
#self_mutation ⇒ Boolean? (readonly)
Default: true
Whether the pipeline will update itself.
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.
263 264 265 |
# File 'pipelines/code_pipeline_props.rb', line 263 def self_mutation @self_mutation end |
#self_mutation_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions? (readonly)
Default: - Only codeBuildDefaults are applied
Additional customizations to apply to the self mutation CodeBuild projects.
268 269 270 |
# File 'pipelines/code_pipeline_props.rb', line 268 def self_mutation_code_build_defaults @self_mutation_code_build_defaults end |
#synth ⇒ AWSCDK::Pipelines::IFileSetProducer (readonly)
The build step that produces the CDK Cloud Assembly.
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.
88 89 90 |
# File 'pipelines/code_pipeline_props.rb', line 88 def synth @synth end |
#synth_code_build_defaults ⇒ AWSCDK::Pipelines::CodeBuildOptions? (readonly)
Default: - Only codeBuildDefaults are applied
Additional customizations to apply to the synthesize CodeBuild projects.
273 274 275 |
# File 'pipelines/code_pipeline_props.rb', line 273 def synth_code_build_defaults @synth_code_build_defaults end |
#use_change_sets ⇒ Boolean? (readonly)
Default: true
Deploy 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.
281 282 283 |
# File 'pipelines/code_pipeline_props.rb', line 281 def use_change_sets @use_change_sets end |
#use_pipeline_role_for_actions ⇒ Boolean? (readonly)
Default: - false
Use pipeline service role for actions if no action role configured.
286 287 288 |
# File 'pipelines/code_pipeline_props.rb', line 286 def use_pipeline_role_for_actions @use_pipeline_role_for_actions end |
Class Method Details
.jsii_properties ⇒ Object
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'pipelines/code_pipeline_props.rb', line 288 def self.jsii_properties { :synth => "synth", :artifact_bucket => "artifactBucket", :asset_publishing_code_build_defaults => "assetPublishingCodeBuildDefaults", :cdk_assets_cli_version => "cdkAssetsCliVersion", :cli_version => "cliVersion", :code_build_defaults => "codeBuildDefaults", :code_pipeline => "codePipeline", :cross_account_keys => "crossAccountKeys", :cross_region_replication_buckets => "crossRegionReplicationBuckets", :docker_credentials => "dockerCredentials", :docker_enabled_for_self_mutation => "dockerEnabledForSelfMutation", :docker_enabled_for_synth => "dockerEnabledForSynth", :enable_key_rotation => "enableKeyRotation", :pipeline_name => "pipelineName", :pipeline_type => "pipelineType", :publish_assets_in_parallel => "publishAssetsInParallel", :reuse_cross_region_support_stacks => "reuseCrossRegionSupportStacks", :role => "role", :self_mutation => "selfMutation", :self_mutation_code_build_defaults => "selfMutationCodeBuildDefaults", :synth_code_build_defaults => "synthCodeBuildDefaults", :use_change_sets => "useChangeSets", :use_pipeline_role_for_actions => "usePipelineRoleForActions", } end |
Instance Method Details
#to_jsii ⇒ Object
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'pipelines/code_pipeline_props.rb', line 316 def to_jsii result = {} result.merge!({ "synth" => @synth, "artifactBucket" => @artifact_bucket, "assetPublishingCodeBuildDefaults" => @asset_publishing_code_build_defaults, "cdkAssetsCliVersion" => @cdk_assets_cli_version, "cliVersion" => @cli_version, "codeBuildDefaults" => @code_build_defaults, "codePipeline" => @code_pipeline, "crossAccountKeys" => @cross_account_keys, "crossRegionReplicationBuckets" => @cross_region_replication_buckets, "dockerCredentials" => @docker_credentials, "dockerEnabledForSelfMutation" => @docker_enabled_for_self_mutation, "dockerEnabledForSynth" => @docker_enabled_for_synth, "enableKeyRotation" => @enable_key_rotation, "pipelineName" => @pipeline_name, "pipelineType" => @pipeline_type, "publishAssetsInParallel" => @publish_assets_in_parallel, "reuseCrossRegionSupportStacks" => @reuse_cross_region_support_stacks, "role" => @role, "selfMutation" => @self_mutation, "selfMutationCodeBuildDefaults" => @self_mutation_code_build_defaults, "synthCodeBuildDefaults" => @synth_code_build_defaults, "useChangeSets" => @use_change_sets, "usePipelineRoleForActions" => @use_pipeline_role_for_actions, }) result.compact end |