Skip to main content
IAM Policy Map

AmazonGrafanaCloudWatchAccess

AnalystService roleActivePermissions reviewedShow on mapCompare

Summary

This policy grants access to Amazon CloudWatch and the dependencies needed to use CloudWatch as a datasource within Amazon Managed Grafana.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess
Default version
v1
Created
Last edited
Services
cloudwatch, ec2, logs, oam, tag

Control-plane actions (16)

By access level: 4 List, 12 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch4 of 1604 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarmHistory, cloudwatch:DescribeAlarms, cloudwatch:DescribeAlarmsForMetric, cloudwatch:GetInsightRuleReport
EC23 of 8343 List; 0 restricted, 0 conditionalec2:DescribeInstances, ec2:DescribeRegions, ec2:DescribeTags
CloudWatch Logs6 of 1331 List, 5 Read; 0 restricted, 0 conditionallogs:DescribeLogGroups, logs:GetLogEvents, logs:GetLogGroupFields, logs:GetQueryResults, logs:StartQuery, logs:StopQuery
OAM2 of 152 Read; 0 restricted, 0 conditionaloam:ListAttachedLinks, oam:ListSinks
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
CloudWatch: 4 actions
  • cloudwatch:DescribeAlarmHistory (Read)
  • cloudwatch:DescribeAlarms (Read)
  • cloudwatch:DescribeAlarmsForMetric (Read)
  • cloudwatch:GetInsightRuleReport (Read)
EC2: 3 actions
  • ec2:DescribeInstances (List)
  • ec2:DescribeRegions (List)
  • ec2:DescribeTags (List)
CloudWatch Logs: 6 actions
  • logs:DescribeLogGroups (List)
  • logs:GetLogEvents (Read)
  • logs:GetLogGroupFields (Read)
  • logs:GetQueryResults (Read)
  • logs:StartQuery (Read)
  • logs:StopQuery (Read)
OAM: 2 actions
  • oam:ListAttachedLinks (Read)
  • oam:ListSinks (Read)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (3)

By access level: 1 List, 2 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch3 of 51 List, 2 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData, cloudwatch:GetMetricStatistics, cloudwatch:ListMetrics
CloudWatch: 3 actions
  • cloudwatch:GetMetricData (Read)
  • cloudwatch:GetMetricStatistics (Read)
  • cloudwatch:ListMetrics (List)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants read access plus query or analysis actions that expose data.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "cloudwatch:DescribeAlarmsForMetric",
        "cloudwatch:DescribeAlarmHistory",
        "cloudwatch:DescribeAlarms",
        "cloudwatch:ListMetrics",
        "cloudwatch:GetMetricStatistics",
        "cloudwatch:GetMetricData",
        "cloudwatch:GetInsightRuleReport"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups",
        "logs:GetLogGroupFields",
        "logs:StartQuery",
        "logs:StopQuery",
        "logs:GetQueryResults",
        "logs:GetLogEvents"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeTags",
        "ec2:DescribeInstances",
        "ec2:DescribeRegions"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "tag:GetResources",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oam:ListSinks",
        "oam:ListAttachedLinks"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v1, edited by AWS on 2023-03-24. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess

Terraform

resource "aws_iam_role_policy_attachment" "service_role_amazongrafanacloudwatchaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonGrafanaCloudWatchAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.