v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441293181.2 KB

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.

post/#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.TagResource

Headers

X-Amz-Target'AmazonEC2ContainerRegistry_V20150921.TagResource' required

Request body

resourceArnstring 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.

Response

Success

TagResourceResponse required