List Tags For Resource
cloudwatch_list_tags_for_resource | R Documentation |
Displays the tags associated with a CloudWatch resource¶
Description¶
Displays the tags associated with a CloudWatch resource. Currently, alarms and Contributor Insights rules support tagging.
Usage¶
cloudwatch_list_tags_for_resource(ResourceARN)
Arguments¶
ResourceARN |
[required] The ARN of the CloudWatch resource that you want to view tags for. The ARN format of an alarm is
The ARN format of a Contributor Insights rule is
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"
)