AmazonGrafanaCloudWatchAccess
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 4 of 160 | 4 Read; 0 restricted, 0 conditional | cloudwatch:DescribeAlarmHistory, cloudwatch:DescribeAlarms, cloudwatch:DescribeAlarmsForMetric, cloudwatch:GetInsightRuleReport |
| EC2 | 3 of 834 | 3 List; 0 restricted, 0 conditional | ec2:DescribeInstances, ec2:DescribeRegions, ec2:DescribeTags |
| CloudWatch Logs | 6 of 133 | 1 List, 5 Read; 0 restricted, 0 conditional | logs:DescribeLogGroups, logs:GetLogEvents, logs:GetLogGroupFields, logs:GetQueryResults, logs:StartQuery, logs:StopQuery |
| OAM | 2 of 15 | 2 Read; 0 restricted, 0 conditional | oam:ListAttachedLinks, oam:ListSinks |
| Resource Group Tagging | 1 of 9 | 1 Read; 0 restricted, 0 conditional | tag: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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| CloudWatch | 3 of 5 | 1 List, 2 Read; 0 restricted, 0 conditional | cloudwatch: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.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AlexaForBusinessGatewayExecution
- AmazonAPIGatewayPushToCloudWatchLogs
- AmazonApplicationRecoveryControllerRegionSwitchPlanExecutionPolicy
- AmazonAppStreamServiceAccess
- AmazonAthenaServiceRolePolicy
- AmazonAuroraDSQLReadOnlyAccess
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
{
"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/AmazonGrafanaCloudWatchAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AmazonGrafanaCloudWatchAccessTerraform
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.