You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Types::Tag

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

Overview

Note:

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

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

The tag structure that contains a tag key and value.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key that is associated with the tag.

Returns:

  • (String)


6109
6110
6111
6112
6113
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6109

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

#valueString

The value that is associated with the tag.

Returns:

  • (String)


6109
6110
6111
6112
6113
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6109

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