Skip to content

An API operation for adding one or more tags (key-value pairs) to a resource

Description

An API operation for adding one or more tags (key-value pairs) to a resource.

Usage

billing_tag_resource(resourceArn, resourceTags)

Arguments

  • resourceArn

    [required] The Amazon Resource Name (ARN) of the resource.

  • resourceTags

    [required] A list of tag key value pairs that are associated with the resource.

Value

An empty list.

Request syntax

svc$tag_resource(
  resourceArn = "string",
  resourceTags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)