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

Class: Aws::GameLift::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a 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

  • TagResource

  • UntagResource

  • ListTagsForResource

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)


6976
6977
6978
6979
6980
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 6976

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

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

Returns:

  • (String)


6976
6977
6978
6979
6980
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 6976

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end