Skip to content

Use to assign one or more tags to a resource

Description

Use to assign one or more tags to a resource.

Usage

codeguruprofiler_tag_resource(resourceArn, tags)

Arguments

  • resourceArn

    [required] The Amazon Resource Name (ARN) of the resource that the tags are added to.

  • tags

    [required] The list of tags that are added to the specified resource.

Value

An empty list.

Request syntax

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