Learn R Programming

paws.compute (version 0.7.0)

ecr_tag_resource: Adds specified tags to a resource with the specified ARN

Description

Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.

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

Usage

ecr_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported resource is an Amazon ECR 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.