class Aws::Batch::Types::TagResourceRequest
@note When making an API call, you may pass TagResourceRequest
data as a hash: { resource_arn: "String", # required tags: { # required "TagKey" => "TagValue", }, }
@!attribute [rw] resource_arn
The Amazon Resource Name (ARN) of the resource that tags are added to. 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. @return [String]
@!attribute [rw] tags
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 Amazon Web Services Resources][1] in *Amazon Web Services General Reference*. [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResourceRequest AWS API Documentation
Constants
- SENSITIVE