Class: AWSCDK::FinSpace::CfnEnvironment::AttributeMapItemsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FinSpace::CfnEnvironment::AttributeMapItemsProperty
- Defined in:
- fin_space/cfn_environment.rb
Overview
Instance Attribute Summary collapse
-
#key ⇒ String?
readonly
The key name of the tag.
-
#value ⇒ String?
readonly
The value for the tag.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key: nil, value: nil) ⇒ AttributeMapItemsProperty
constructor
A new instance of AttributeMapItemsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key: nil, value: nil) ⇒ AttributeMapItemsProperty
Returns a new instance of AttributeMapItemsProperty.
684 685 686 687 688 689 |
# File 'fin_space/cfn_environment.rb', line 684 def initialize(key: nil, value: nil) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") unless @key.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#key ⇒ String? (readonly)
The key name of the tag.
You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
697 698 699 |
# File 'fin_space/cfn_environment.rb', line 697 def key @key end |
#value ⇒ String? (readonly)
The value for the tag.
You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
704 705 706 |
# File 'fin_space/cfn_environment.rb', line 704 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
706 707 708 709 710 711 |
# File 'fin_space/cfn_environment.rb', line 706 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
713 714 715 716 717 718 719 720 |
# File 'fin_space/cfn_environment.rb', line 713 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |