Class: AWSCDK::TagManagerOptions

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
tag_manager_options.rb

Overview

Options to configure TagManager behavior.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag_property_name: nil) ⇒ TagManagerOptions

Returns a new instance of TagManagerOptions.

Parameters:

  • tag_property_name (String, nil) (defaults to: nil)

    The name of the property in CloudFormation for these tags.



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_nameString? (readonly)

Note:

Default: "tags"

The name of the property in CloudFormation for these tags.

Normally this is tags, but Cognito UserPool uses UserPoolTags

Returns:

  • (String, nil)


19
20
21
# File 'tag_manager_options.rb', line 19

def tag_property_name
  @tag_property_name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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