AmazonPrometheusFullAccess
Description: Grants full access to AWS Managed Prometheus resources
AmazonPrometheusFullAccess
is an AWS managed policy.
Using this policy
You can attach AmazonPrometheusFullAccess
to your users, groups, and roles.
Policy
details
-
Type: AWS managed policy
-
Creation time: December 15, 2020, 18:10 UTC
-
Edited time: November 26, 2023, 20:16 UTC
-
ARN:
arn:aws:iam::aws:policy/AmazonPrometheusFullAccess
Policy version
Policy version: v2 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "AllPrometheusActions",
"Effect" : "Allow",
"Action" : [
"aps:*"
],
"Resource" : "*"
},
{
"Sid" : "DescribeCluster",
"Effect" : "Allow",
"Action" : [
"eks:DescribeCluster",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups"
],
"Condition" : {
"ForAnyValue:StringEquals" : {
"aws:CalledVia" : [
"aps.amazonaws.com"
]
}
},
"Resource" : "*"
},
{
"Sid" : "CreateServiceLinkedRole",
"Effect" : "Allow",
"Action" : "iam:CreateServiceLinkedRole",
"Resource" : "arn:aws:iam::*:role/aws-service-role/scraper.aps.amazonaws.com/AWSServiceRoleForAmazonPrometheusScraper*",
"Condition" : {
"StringEquals" : {
"iam:AWSServiceName" : "scraper.aps.amazonaws.com"
}
}
}
]
}