Skip to main content
IAM Policy Map

AmazonDocDBElasticReadOnlyAccess

ReaderAWS managedActivePermissions reviewedShow on mapCompare

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.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
DocumentDB Elastic Clusters5 of 193 List, 2 Read; 0 restricted, 0 conditionaldocdb-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.

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 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.

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": [
        "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/AmazonDocDBElasticReadOnlyAccess

CloudFormation

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

Terraform

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.