Class: AWSCDK::AmazonMQ::CfnConfiguration::TagsEntryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmazonMQ::CfnConfiguration::TagsEntryProperty
- Defined in:
- amazon_mq/cfn_configuration.rb
Overview
The list of all tags associated with this configuration.
Instance Attribute Summary collapse
- #key ⇒ String readonly
- #value ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ TagsEntryProperty
constructor
A new instance of TagsEntryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ TagsEntryProperty
Returns a new instance of TagsEntryProperty.
646 647 648 649 650 651 |
# File 'amazon_mq/cfn_configuration.rb', line 646 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
655 656 657 |
# File 'amazon_mq/cfn_configuration.rb', line 655 def key @key end |
#value ⇒ String (readonly)
658 659 660 |
# File 'amazon_mq/cfn_configuration.rb', line 658 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
660 661 662 663 664 665 |
# File 'amazon_mq/cfn_configuration.rb', line 660 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
667 668 669 670 671 672 673 674 |
# File 'amazon_mq/cfn_configuration.rb', line 667 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |