Skip to content

List Tags For Resource

cloudwatchapplicationsignals_list_tags_for_resource R Documentation

Displays the tags associated with a CloudWatch resource

Description

Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.

Usage

cloudwatchapplicationsignals_list_tags_for_resource(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the CloudWatch resource that you want to view tags for.

The ARN format of an Application Signals SLO is arn:aws:cloudwatch:Region:account-id:slo:slo-name

For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.

Value

A list with the following syntax:

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

Request syntax

svc$list_tags_for_resource(
  ResourceArn = "string"
)