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)


4527
4528
4529
4530
4531
4532
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4527

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)


4527
4528
4529
4530
4531
4532
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4527

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