cloudwatch:GetResourceMetricsConfiguration

Read

cloudwatch:GetResourceMetricsConfiguration is a Read access-level action in the cloudwatch service. Grants permission to retrieve the resource metrics configuration and detailed monitoring status for a resource

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants cloudwatch:GetResourceMetricsConfiguration.

cloudwatch:ResourceArn ARN

Filters access by the ARN of the AWS resource that a resource metrics configuration request targets

Example IAM policy

A minimal policy that allows cloudwatch:GetResourceMetricsConfiguration. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudwatchGetResourceMetricsConfiguration",
      "Effect": "Allow",
      "Action": "cloudwatch:GetResourceMetricsConfiguration",
      "Resource": "*"
    }
  ]
}

Related actions in cloudwatch

View all cloudwatch actions →