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

Class: Aws::DeviceFarm::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:

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

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

Returns:

  • (String)

    One part of a key-value pair that makes up a tag.

#valueString

The optional part of a key-value pair that makes up a tag. A value acts as a descriptor in a tag category (key).

Returns:

  • (String)

    The optional part of a key-value pair that makes up a tag.