paws.compute (version 0.1.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.

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.

Request syntax

svc$tag_resource(
  resourceArn = "string",
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)