Class: AWSCDK::AmazonMQ::CfnConfiguration::TagsEntryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
amazon_mq/cfn_configuration.rb

Overview

The list of all tags associated with this configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key:, value:) ⇒ TagsEntryProperty

Returns a new instance of TagsEntryProperty.

Parameters:

  • key (String)
  • value (String)


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

#keyString (readonly)



655
656
657
# File 'amazon_mq/cfn_configuration.rb', line 655

def key
  @key
end

#valueString (readonly)



658
659
660
# File 'amazon_mq/cfn_configuration.rb', line 658

def value
  @value
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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