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

Class: Aws::S3::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: "ObjectKey", # required
  value: "Value", # required
}

A container of a key value name pair.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Name of the object key.

Returns:

  • (String)

    Name of the object key.

#valueString

Value of the tag.

Returns:

  • (String)

    Value of the tag.