Skip to content

Tag Resource

codecommit_tag_resource R Documentation

Adds or updates tags for a resource in CodeCommit

Description

Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.

Usage

codecommit_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

tags

[required] The key-value pair to use when tagging this repository.

Value

An empty list.

Request syntax

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