Class: AWSCDK::CloudAssemblySchema::AssetManifestProperties
- Inherits:
-
AssetManifestOptions
- Object
- AssetManifestOptions
- AWSCDK::CloudAssemblySchema::AssetManifestProperties
- Defined in:
- cloud_assembly_schema/asset_manifest_properties.rb
Overview
Artifact properties for the Asset Manifest.
Instance Attribute Summary collapse
-
#bootstrap_stack_version_ssm_parameter ⇒ String?
readonly
SSM parameter where the bootstrap stack version number can be found.
-
#file ⇒ String
readonly
Filename of the asset manifest.
-
#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, file:) ⇒ AssetManifestProperties
constructor
A new instance of AssetManifestProperties.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bootstrap_stack_version_ssm_parameter: nil, requires_bootstrap_stack_version: nil, file:) ⇒ AssetManifestProperties
Returns a new instance of AssetManifestProperties.
10 11 12 13 14 15 16 17 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 10 def initialize(bootstrap_stack_version_ssm_parameter: nil, requires_bootstrap_stack_version: nil, file:) @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? @file = file Jsii::Type.check_type(@file, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "file") 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.
29 30 31 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 29 def bootstrap_stack_version_ssm_parameter @bootstrap_stack_version_ssm_parameter end |
#file ⇒ String (readonly)
Filename of the asset manifest.
38 39 40 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 38 def file @file end |
#requires_bootstrap_stack_version ⇒ Numeric? (readonly)
Note:
Default: - Version 1 (basic modern bootstrap stack)
Version of bootstrap stack required to deploy this stack.
34 35 36 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 34 def requires_bootstrap_stack_version @requires_bootstrap_stack_version end |
Class Method Details
.jsii_properties ⇒ Object
40 41 42 43 44 45 46 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 40 def self.jsii_properties { :bootstrap_stack_version_ssm_parameter => "bootstrapStackVersionSsmParameter", :requires_bootstrap_stack_version => "requiresBootstrapStackVersion", :file => "file", } end |
Instance Method Details
#to_jsii ⇒ Object
48 49 50 51 52 53 54 55 56 57 |
# File 'cloud_assembly_schema/asset_manifest_properties.rb', line 48 def to_jsii result = {} result.merge!(super) result.merge!({ "bootstrapStackVersionSsmParameter" => @bootstrap_stack_version_ssm_parameter, "requiresBootstrapStackVersion" => @requires_bootstrap_stack_version, "file" => @file, }) result.compact end |