Class: AWSCDK::CXAPI::SynthesisMessage Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CXAPI::SynthesisMessage
- Defined in:
- cxapi/synthesis_message.rb
Overview
Deprecated.
The official definition of this type has moved to @aws-cdk/cloud-assembly-api.
Instance Attribute Summary collapse
- #entry ⇒ AWSCDK::CloudAssemblySchema::MetadataEntry readonly
- #id ⇒ String readonly
- #level ⇒ AWSCDK::CXAPI::SynthesisMessageLevel readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(entry:, id:, level:) ⇒ SynthesisMessage
constructor
A new instance of SynthesisMessage.
- #to_jsii ⇒ Object
Constructor Details
#initialize(entry:, id:, level:) ⇒ SynthesisMessage
Returns a new instance of SynthesisMessage.
10 11 12 13 14 15 16 17 |
# File 'cxapi/synthesis_message.rb', line 10 def initialize(entry:, id:, level:) @entry = entry.is_a?(Hash) ? ::AWSCDK::CloudAssemblySchema::MetadataEntry.new(**entry.transform_keys(&:to_sym)) : entry Jsii::Type.check_type(@entry, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5jbG91ZF9hc3NlbWJseV9zY2hlbWEuTWV0YWRhdGFFbnRyeSJ9")), "entry") @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @level = level Jsii::Type.check_type(@level, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5jeF9hcGkuU3ludGhlc2lzTWVzc2FnZUxldmVsIn0=")), "level") end |
Instance Attribute Details
#entry ⇒ AWSCDK::CloudAssemblySchema::MetadataEntry (readonly)
20 21 22 |
# File 'cxapi/synthesis_message.rb', line 20 def entry @entry end |
#id ⇒ String (readonly)
22 23 24 |
# File 'cxapi/synthesis_message.rb', line 22 def id @id end |
#level ⇒ AWSCDK::CXAPI::SynthesisMessageLevel (readonly)
24 25 26 |
# File 'cxapi/synthesis_message.rb', line 24 def level @level end |
Class Method Details
.jsii_properties ⇒ Object
26 27 28 29 30 31 32 |
# File 'cxapi/synthesis_message.rb', line 26 def self.jsii_properties { :entry => "entry", :id => "id", :level => "level", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'cxapi/synthesis_message.rb', line 34 def to_jsii result = {} result.merge!({ "entry" => @entry, "id" => @id, "level" => @level, }) result.compact end |