Class: AWSCDK::ServiceCatalog::TagOptionsProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ServiceCatalog::TagOptionsProps
- Defined in:
- service_catalog/tag_options_props.rb
Overview
Properties for TagOptions.
Instance Attribute Summary collapse
-
#allowed_values_for_tags ⇒ Hash{String => Array<String>}
readonly
The values that are allowed to be set for specific tags.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allowed_values_for_tags:) ⇒ TagOptionsProps
constructor
A new instance of TagOptionsProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allowed_values_for_tags:) ⇒ TagOptionsProps
Returns a new instance of TagOptionsProps.
8 9 10 11 |
# File 'service_catalog/tag_options_props.rb', line 8 def initialize(allowed_values_for_tags:) @allowed_values_for_tags = Jsii::Type.check_type(@allowed_values_for_tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJhcnJheSJ9fSwia2luZCI6Im1hcCJ9fQ==")), "allowedValuesForTags") end |
Instance Attribute Details
#allowed_values_for_tags ⇒ Hash{String => Array<String>} (readonly)
The values that are allowed to be set for specific tags.
The keys of the map represent the tag keys, and the values of the map are a list of allowed values for that particular tag key.
19 20 21 |
# File 'service_catalog/tag_options_props.rb', line 19 def @allowed_values_for_tags end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'service_catalog/tag_options_props.rb', line 21 def self.jsii_properties { :allowed_values_for_tags => "allowedValuesForTags", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'service_catalog/tag_options_props.rb', line 27 def to_jsii result = {} result.merge!({ "allowedValuesForTags" => @allowed_values_for_tags, }) result.compact end |