Skip to content

Tag Resource

iamrolesanywhere_tag_resource R Documentation

Attaches tags to a resource

Description

Attaches tags to a resource.

Required permissions: rolesanywhere:TagResource.

Usage

iamrolesanywhere_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The ARN of the resource.

tags

[required] The tags to attach to the resource.

Value

An empty list.

Request syntax

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