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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ram/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.

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)


2475
2476
2477
2478
2479
2480
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2475

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)


2475
2476
2477
2478
2479
2480
# File 'gems/aws-sdk-ram/lib/aws-sdk-ram/types.rb', line 2475

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