class Aws::Comprehend::Types::Tag

A key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to indicate its use by a particular department.

@note When making an API call, you may pass Tag

data as a hash:

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

@!attribute [rw] key

The initial part of a key-value pair that forms a tag associated
with a given resource. For instance, if you want to show which
resources are used by which departments, you might use “Department”
as the key portion of the pair, with multiple possible values such
as “sales,” “legal,” and “administration.”
@return [String]

@!attribute [rw] value

The second part of a key-value pair that forms a tag associated with
a given resource. For instance, if you want to show which resources
are used by which departments, you might use “Department” as the
initial (key) portion of the pair, with a value of “sales” to
indicate the sales department.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/Tag AWS API Documentation

Constants

SENSITIVE