Class: AWSCDK::CloudAssemblySchema::PropertyMutationMetadataEntry
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudAssemblySchema::PropertyMutationMetadataEntry
- Defined in:
- cloud_assembly_schema/property_mutation_metadata_entry.rb
Overview
Metadata type of a PropertyMutation.
Instance Attribute Summary collapse
-
#property_name ⇒ String
readonly
Name of the property.
-
#stack_trace ⇒ Array<String>
readonly
Stack trace of the mutation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(property_name:, stack_trace:) ⇒ PropertyMutationMetadataEntry
constructor
A new instance of PropertyMutationMetadataEntry.
- #to_jsii ⇒ Object
Constructor Details
#initialize(property_name:, stack_trace:) ⇒ PropertyMutationMetadataEntry
Returns a new instance of PropertyMutationMetadataEntry.
9 10 11 12 13 14 |
# File 'cloud_assembly_schema/property_mutation_metadata_entry.rb', line 9 def initialize(property_name:, stack_trace:) @property_name = property_name Jsii::Type.check_type(@property_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "propertyName") @stack_trace = stack_trace Jsii::Type.check_type(@stack_trace, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "stackTrace") end |
Instance Attribute Details
#property_name ⇒ String (readonly)
Name of the property.
19 20 21 |
# File 'cloud_assembly_schema/property_mutation_metadata_entry.rb', line 19 def property_name @property_name end |
#stack_trace ⇒ Array<String> (readonly)
Stack trace of the mutation.
23 24 25 |
# File 'cloud_assembly_schema/property_mutation_metadata_entry.rb', line 23 def stack_trace @stack_trace end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'cloud_assembly_schema/property_mutation_metadata_entry.rb', line 25 def self.jsii_properties { :property_name => "propertyName", :stack_trace => "stackTrace", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'cloud_assembly_schema/property_mutation_metadata_entry.rb', line 32 def to_jsii result = {} result.merge!({ "propertyName" => @property_name, "stackTrace" => @stack_trace, }) result.compact end |