Class: Aws::RAM::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "TagKey",
  value: "TagValue",
}

A structure containing a tag. A tag is metadata that you can attach to your resources to help organize and categorize them. You can also use them to help you secure your resources. For more information, see Controlling access to Amazon Web Services resources using tags.

For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.

Returns:

  • (String)


2702
2703
2704
2705
2706
2707
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2702

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The string value attached to the tag. The value can be an empty string. Key values are case sensitive.

Returns:

  • (String)


2702
2703
2704
2705
2706
2707
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2702

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end