Class: Aws::Organizations::Types::Tag

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

Overview

A custom key-value pair associated with a resource within your organization.

You can attach tags to any of the following organization resources.

  • Amazon Web Services account

  • Organizational unit (OU)

  • Organization root

  • Policy

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key identifier, or name, of the tag.

Returns:

  • (String)


4510
4511
4512
4513
4514
4515
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4510

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

#valueString

The string value that's associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.

Returns:

  • (String)


4510
4511
4512
4513
4514
4515
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4510

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