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

Class: Aws::MarketplaceMetering::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
}

Metadata assigned to an allocation. Each tag is made up of a key and a value.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)

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

#valueString

One part of a key-value pair that makes up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Returns:

  • (String)

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