Class: AWSCDK::TagManagerOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::TagManagerOptions
- Defined in:
- tag_manager_options.rb
Overview
Options to configure TagManager behavior.
Instance Attribute Summary collapse
-
#tag_property_name ⇒ String?
readonly
The name of the property in CloudFormation for these tags.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tag_property_name: nil) ⇒ TagManagerOptions
constructor
A new instance of TagManagerOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tag_property_name: nil) ⇒ TagManagerOptions
Returns a new instance of TagManagerOptions.
8 9 10 11 |
# File 'tag_manager_options.rb', line 8 def initialize(tag_property_name: nil) @tag_property_name = tag_property_name Jsii::Type.check_type(@tag_property_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tagPropertyName") unless @tag_property_name.nil? end |
Instance Attribute Details
#tag_property_name ⇒ String? (readonly)
Note:
Default: "tags"
The name of the property in CloudFormation for these tags.
Normally this is tags, but Cognito UserPool uses UserPoolTags
19 20 21 |
# File 'tag_manager_options.rb', line 19 def tag_property_name @tag_property_name end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'tag_manager_options.rb', line 21 def self.jsii_properties { :tag_property_name => "tagPropertyName", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'tag_manager_options.rb', line 27 def to_jsii result = {} result.merge!({ "tagPropertyName" => @tag_property_name, }) result.compact end |