batch_tag_resource: Associates the specified tags to a resource with the...

View source: R/batch_operations.R

batch_tag_resourceR Documentation

Associates the specified tags to a resource with the specified resourceArn

Description

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

See https://www.paws-r-sdk.com/docs/batch_tag_resource/ for full documentation.

Usage

batch_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

tags

[required] 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 in Amazon Web Services General Reference.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.