You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Batch::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "String", # required
tags: { # required
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource to which to add tags.
-
#tags ⇒ Hash<String,String>
The tags that you apply to the resource to help you categorize and organize your resources.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource to which to add tags. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
#tags ⇒ Hash<String,String>
The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General Reference.