AmazonDocDBElasticReadOnlyAccess
Summary
Provides read-only access to Amazon DocDB-Elastic and CloudWatch metrics.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonDocDBElasticReadOnlyAccess- Default version
- v2
- Created
- Last edited
- Services
- cloudwatch, docdb-elastic
Control-plane actions (5)
By access level: 3 List, 2 Read.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| DocumentDB Elastic Clusters | 5 of 19 | 3 List, 2 Read; 0 restricted, 0 conditional | docdb-elastic:GetCluster, docdb-elastic:GetClusterSnapshot, docdb-elastic:ListClusterSnapshots, docdb-elastic:ListClusters, docdb-elastic:ListTagsForResource |
DocumentDB Elastic Clusters: 5 actions
- docdb-elastic:GetCluster (Read)
- docdb-elastic:GetClusterSnapshot (Read)
- docdb-elastic:ListClusterSnapshots (List)
- docdb-elastic:ListClusters (List)
- docdb-elastic:ListTagsForResource (List)
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 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
- AmazonApplicationRecoveryControllerRegionSwitchPlanExecutionPolicy
- AmazonAthenaServiceRolePolicy
- AmazonAuroraDSQLReadOnlyAccess
- AmazonChimeSDKMediaPipelinesServiceLinkedRolePolicy
- AmazonCloudWatchEvidentlyFullAccess
- AmazonCloudWatchRUMReadOnlyAccess
- AmazonCloudWatchRUMServiceRolePolicy
- AmazonDocDB-ElasticServiceRolePolicy
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": [
"docdb-elastic:ListClusters",
"docdb-elastic:GetCluster",
"docdb-elastic:ListClusterSnapshots",
"docdb-elastic:GetClusterSnapshot",
"docdb-elastic:ListTagsForResource"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricData",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics"
],
"Resource": "*"
}
]
}
Version history
Current version v2, edited by AWS on 2023-06-21. 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/AmazonDocDBElasticReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDocDBElasticReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDocDBElasticReadOnlyAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonDocDBElasticReadOnlyAccessTerraform
resource "aws_iam_role_policy_attachment" "amazondocdbelasticreadonlyaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonDocDBElasticReadOnlyAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonDocDBElasticReadOnlyAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.