AmazonPrometheusQueryAccess
Summary
Grants access to run queries against AWS Managed Prometheus resources
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonPrometheusQueryAccess- Default version
- v1
- Created
- Last edited
- Services
- aps
Control-plane actions (4)
By access level: 4 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| AMP | 4 of 61 | 4 Read; 0 restricted, 0 conditional | aps:GetLabels, aps:GetMetricMetadata, aps:GetSeries, aps:QueryMetrics |
AMP: 4 actions
- aps:GetLabels (Read)
- aps:GetMetricMetadata (Read)
- aps:GetSeries (Read)
- aps:QueryMetrics (Read)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
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 only List and Read actions.
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
- AmazonPrometheusConsoleFullAccess
- AmazonPrometheusFullAccess
- AmazonPrometheusRemoteWriteAccess
- AmazonSageMakerHyperPodObservabilityAdminAccess
- AWSElasticBeanstalkEKSObservability
- AWSElasticBeanstalkServiceRolePolicy
- SplitCostAllocationDataServiceRolePolicy
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": [
{
"Action": [
"aps:GetLabels",
"aps:GetMetricMetadata",
"aps:GetSeries",
"aps:QueryMetrics"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
Version history
Current version v1, edited by AWS on 2020-12-19. 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/AmazonPrometheusQueryAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonPrometheusQueryAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonPrometheusQueryAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonPrometheusQueryAccessTerraform
resource "aws_iam_role_policy_attachment" "amazonprometheusqueryaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonPrometheusQueryAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonPrometheusQueryAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.