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

Class: Aws::GameLift::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 label that can be assigned to a GameLift resource.

Learn more

Tagging AWS Resources in the AWS General Reference

AWS Tagging Strategies

Related operations

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key for a developer-defined key:value pair for tagging an AWS resource.

Returns:

  • (String)

    The key for a developer-defined key:value pair for tagging an AWS resource.

#valueString

The value for a developer-defined key:value pair for tagging an AWS resource.

Returns:

  • (String)

    The value for a developer-defined key:value pair for tagging an AWS resource.