You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatch::Types::ListTagsForResourceInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::ListTagsForResourceInput
- Defined in:
- (unknown)
Overview
Note:
When passing ListTagsForResourceInput as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "AmazonResourceName", # required
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The ARN of the CloudWatch resource that you want to view tags for.
Instance Attribute Details
#resource_arn ⇒ String
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.