Class: Aws::CloudWatch::Types::ListTagsForResourceInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatch/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies

Returns:

  • (String)


2241
2242
2243
2244
2245
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2241

class ListTagsForResourceInput < Struct.new(
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end