cloudwatch_list_tags_for_resource: Displays the tags associated with a CloudWatch resource

Description Usage Arguments Value Request syntax

View source: R/cloudwatch_operations.R

Description

Displays the tags associated with a CloudWatch resource. Currently, alarms and Contributor Insights rules support tagging.

Usage

1

Arguments

ResourceARN

[required] The ARN of the CloudWatch resource that you want to view tags for.

The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name

The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-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:

1
2
3
4
5
6
7
8
list(
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

1
2
3
svc$list_tags_for_resource(
  ResourceARN = "string"
)

paws.management documentation built on March 8, 2021, 1:07 a.m.