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

Class: Aws::SSM::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 that you assign to your AWS resources. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. In Systems Manager, you can apply tags to documents, managed instances, Maintenance Windows, Parameter Store parameters, and patch baselines.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the tag.

Returns:

  • (String)

    The name of the tag.

#valueString

The value of the tag.

Returns:

  • (String)

    The value of the tag.