Skip to content

List Tags for Resource

costexplorer_list_tags_for_resource R Documentation

Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN)

Description

Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).

Usage

costexplorer_list_tags_for_resource(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see ResourceTag.

Value

A list with the following syntax:

list(
  ResourceTags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$list_tags_for_resource(
  ResourceArn = "string"
)