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

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

Overview

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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html [2]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

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)


3702
3703
3704
3705
3706
3707
# File 'lib/aws-sdk-ram/types.rb', line 3702

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)


3702
3703
3704
3705
3706
3707
# File 'lib/aws-sdk-ram/types.rb', line 3702

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