You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::GameLift::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "AmazonResourceName", # required
tags: [ # required
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name ([ARN][1]) that is assigned to and uniquely identifies the GameLift resource that you want to assign tags to.
-
#tags ⇒ Array<Types::Tag>
A list of one or more tags to assign to the specified GameLift resource.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) that is assigned to and uniquely identifies the GameLift resource that you want to assign tags to. GameLift resource ARNs are included in the data object for the resource, which can be retrieved by calling a List or Describe operation for the resource type.
#tags ⇒ Array<Types::Tag>
A list of one or more tags to assign to the specified GameLift resource. Tags are developer-defined and structured as key-value pairs. The maximum tag limit may be lower than stated. See Tagging AWS Resources for actual tagging limits.