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

View source: R/ecrpublic_operations.R

ecrpublic_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 associated with that resource are also deleted.

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

Usage

ecrpublic_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resource is an Amazon ECR Public repository.

tags

[required] The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.