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

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

A key-value pair that helps you manage, filter, and search for your resource. Allowed characters: letters, white space, and numbers, representable in UTF-8, and the following characters: + - = . _ : /.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Tag key. The key can\'t start with aws:.

Returns:

  • (String)

    Tag key.

#valueString

Value of the tag key.

Returns:

  • (String)

    Value of the tag key.