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

Class: Aws::IoTThingsGraph::Types::Tag

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

Overview

Note:

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

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

Metadata assigned to an AWS IoT Things Graph resource consisting of a key-value pair.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The required name of the tag. The string value can be from 1 to 128 Unicode characters in length.

Returns:

  • (String)


1733
1734
1735
1736
1737
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1733

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

#valueString

The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length.

Returns:

  • (String)


1733
1734
1735
1736
1737
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 1733

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