Class: AWSCDK::CloudAssemblySchema::AssetManifestOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudAssemblySchema::AssetManifestOptions
- Defined in:
- cloud_assembly_schema/asset_manifest_options.rb
Overview
Configuration options for the Asset Manifest.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bootstrap_stack_version_ssm_parameter ⇒ String?
readonly
SSM parameter where the bootstrap stack version number can be found.
-
#requires_bootstrap_stack_version ⇒ Numeric?
readonly
Version of bootstrap stack required to deploy this stack.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bootstrap_stack_version_ssm_parameter: nil, requires_bootstrap_stack_version: nil) ⇒ AssetManifestOptions
constructor
A new instance of AssetManifestOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bootstrap_stack_version_ssm_parameter: nil, requires_bootstrap_stack_version: nil) ⇒ AssetManifestOptions
Returns a new instance of AssetManifestOptions.
9 10 11 12 13 14 |
# File 'cloud_assembly_schema/asset_manifest_options.rb', line 9 def initialize(bootstrap_stack_version_ssm_parameter: nil, requires_bootstrap_stack_version: nil) @bootstrap_stack_version_ssm_parameter = bootstrap_stack_version_ssm_parameter Jsii::Type.check_type(@bootstrap_stack_version_ssm_parameter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bootstrapStackVersionSsmParameter") unless @bootstrap_stack_version_ssm_parameter.nil? @requires_bootstrap_stack_version = requires_bootstrap_stack_version Jsii::Type.check_type(@requires_bootstrap_stack_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "requiresBootstrapStackVersion") unless @requires_bootstrap_stack_version.nil? end |
Instance Attribute Details
#bootstrap_stack_version_ssm_parameter ⇒ String? (readonly)
Note:
Default: - Bootstrap stack version number looked up
SSM parameter where the bootstrap stack version number can be found.
- If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs.
- If this value is set, the bootstrap stack can have any name because we won't need to look it up.
26 27 28 |
# File 'cloud_assembly_schema/asset_manifest_options.rb', line 26 def bootstrap_stack_version_ssm_parameter @bootstrap_stack_version_ssm_parameter end |
#requires_bootstrap_stack_version ⇒ Numeric? (readonly)
Note:
Default: - Version 1 (basic modern bootstrap stack)
Version of bootstrap stack required to deploy this stack.
31 32 33 |
# File 'cloud_assembly_schema/asset_manifest_options.rb', line 31 def requires_bootstrap_stack_version @requires_bootstrap_stack_version end |
Class Method Details
.jsii_properties ⇒ Object
33 34 35 36 37 38 |
# File 'cloud_assembly_schema/asset_manifest_options.rb', line 33 def self.jsii_properties { :bootstrap_stack_version_ssm_parameter => "bootstrapStackVersionSsmParameter", :requires_bootstrap_stack_version => "requiresBootstrapStackVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'cloud_assembly_schema/asset_manifest_options.rb', line 40 def to_jsii result = {} result.merge!({ "bootstrapStackVersionSsmParameter" => @bootstrap_stack_version_ssm_parameter, "requiresBootstrapStackVersion" => @requires_bootstrap_stack_version, }) result.compact end |