Skip to main content
IAM Policy Map

AmazonDynamoDBReadOnlyAccess

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

Provides read only access to Amazon DynamoDB via the AWS Management Console. The Amazon DynamoDB Developer Guide says it grants read-only access to Amazon DynamoDB, with read-only access to DynamoDB Accelerator (DAX) and view access to related services.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess
Default version
v15
Created
Last edited
Services
application-autoscaling, cloudwatch, datapipeline, dax, dynamodb, ec2, iam, kinesis, kms, lambda, resource-groups, sns, tag

Control-plane actions (71)

By access level: 25 List, 46 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Application Auto Scaling3 of 143 Read; 0 restricted, 0 conditionalapplication-autoscaling:DescribeScalableTargets, application-autoscaling:DescribeScalingActivities, application-autoscaling:DescribeScalingPolicies
CloudWatch4 of 1604 Read; 1 restricted, 0 conditionalcloudwatch:DescribeAlarmHistory, cloudwatch:DescribeAlarms, cloudwatch:DescribeAlarmsForMetric, cloudwatch:GetInsightRuleReport
Data Pipeline5 of 211 List, 4 Read; 0 restricted, 0 conditionaldatapipeline:DescribeObjects, datapipeline:DescribePipelines, datapipeline:GetPipelineDefinition, datapipeline:ListPipelines, datapipeline:QueryObjects
DynamoDBAccelerator11 of 305 List, 6 Read; 0 restricted, 0 conditionaldax:BatchGetItem, dax:Describe*, dax:GetItem, dax:List*, dax:Query, dax:Scan
DynamoDB28 of 687 List, 21 Read; 0 restricted, 0 conditionaldynamodb:Describe*, dynamodb:GetAbacStatus, dynamodb:GetResourcePolicy, dynamodb:List*
EC23 of 8343 List; 0 restricted, 0 conditionalec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcs
IAM2 of 1901 List, 1 Read; 0 restricted, 0 conditionaliam:GetRole, iam:ListRoles
Kinesis3 of 421 List, 2 Read; 0 restricted, 0 conditionalkinesis:DescribeStream, kinesis:DescribeStreamSummary, kinesis:ListStreams
KMS2 of 581 List, 1 Read; 0 restricted, 0 conditionalkms:DescribeKey, kms:ListAliases
Lambda3 of 1212 List, 1 Read; 0 restricted, 0 conditionallambda:GetFunctionConfiguration, lambda:ListEventSourceMappings, lambda:ListFunctions
Resource Groups4 of 292 List, 2 Read; 0 restricted, 0 conditionalresource-groups:GetGroup, resource-groups:GetGroupQuery, resource-groups:ListGroupResources, resource-groups:ListGroups
SNS2 of 402 List; 0 restricted, 0 conditionalsns:ListSubscriptionsByTopic, sns:ListTopics
Resource Group Tagging1 of 91 Read; 0 restricted, 0 conditionaltag:GetResources
Application Auto Scaling: 3 actions
  • application-autoscaling:DescribeScalableTargets (Read)
  • application-autoscaling:DescribeScalingActivities (Read)
  • application-autoscaling:DescribeScalingPolicies (Read)
CloudWatch: 4 actions
  • cloudwatch:DescribeAlarmHistory (Read)
  • cloudwatch:DescribeAlarms (Read)
  • cloudwatch:DescribeAlarmsForMetric (Read)
  • cloudwatch:GetInsightRuleReport (Read)
Data Pipeline: 5 actions
  • datapipeline:DescribeObjects (Read)
  • datapipeline:DescribePipelines (Read)
  • datapipeline:GetPipelineDefinition (Read)
  • datapipeline:ListPipelines (List)
  • datapipeline:QueryObjects (Read)
DynamoDBAccelerator: 11 actions
  • dax:BatchGetItem (Read)
  • dax:DescribeClusters (List)
  • dax:DescribeDefaultParameters (List)
  • dax:DescribeEvents (List)
  • dax:DescribeParameterGroups (List)
  • dax:DescribeParameters (Read)
  • dax:DescribeSubnetGroups (List)
  • dax:GetItem (Read)
  • dax:ListTags (Read)
  • dax:Query (Read)
  • dax:Scan (Read)
DynamoDB: 28 actions
  • dynamodb:DescribeBackup (Read)
  • dynamodb:DescribeBulkOperation (Read)
  • dynamodb:DescribeContinuousBackups (Read)
  • dynamodb:DescribeContributorInsights (Read)
  • dynamodb:DescribeEndpoints (Read)
  • dynamodb:DescribeExport (Read)
  • dynamodb:DescribeGlobalTable (Read)
  • dynamodb:DescribeGlobalTableSettings (Read)
  • dynamodb:DescribeImport (Read)
  • dynamodb:DescribeKinesisStreamingDestination (Read)
  • dynamodb:DescribeLimits (Read)
  • dynamodb:DescribeReservedCapacity (Read)
  • dynamodb:DescribeReservedCapacityOfferings (Read)
  • dynamodb:DescribeStream (Read)
  • dynamodb:DescribeTable (Read)
  • dynamodb:DescribeTableReplicaAutoScaling (Read)
  • dynamodb:DescribeTimeToLive (Read)
  • dynamodb:GetAbacStatus (Read)
  • dynamodb:GetResourcePolicy (Read)
  • dynamodb:ListBackups (List)
  • dynamodb:ListBulkOperations (List)
  • dynamodb:ListContributorInsights (List)
  • dynamodb:ListExports (List)
  • dynamodb:ListGlobalTables (List)
  • dynamodb:ListImports (List)
  • dynamodb:ListStreams (Read)
  • dynamodb:ListTables (List)
  • dynamodb:ListTagsOfResource (Read)
EC2: 3 actions
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcs (List)
IAM: 2 actions
  • iam:GetRole (Read)
  • iam:ListRoles (List)
Kinesis: 3 actions
  • kinesis:DescribeStream (Read)
  • kinesis:DescribeStreamSummary (Read)
  • kinesis:ListStreams (List)
KMS: 2 actions
  • kms:DescribeKey (Read)
  • kms:ListAliases (List)
Lambda: 3 actions
  • lambda:GetFunctionConfiguration (Read)
  • lambda:ListEventSourceMappings (List)
  • lambda:ListFunctions (List)
Resource Groups: 4 actions
  • resource-groups:GetGroup (Read)
  • resource-groups:GetGroupQuery (Read)
  • resource-groups:ListGroupResources (List)
  • resource-groups:ListGroups (List)
SNS: 2 actions
  • sns:ListSubscriptionsByTopic (List)
  • sns:ListTopics (List)
Resource Group Tagging: 1 actions
  • tag:GetResources (Read)

Data-plane actions (8)

By access level: 1 List, 7 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
DynamoDB5 of 175 Read; 0 restricted, 0 conditionaldynamodb:BatchGetItem, dynamodb:GetItem, dynamodb:PartiQLSelect, dynamodb:Query, dynamodb:Scan
CloudWatch: 3 actions
  • cloudwatch:GetMetricData (Read)
  • cloudwatch:GetMetricStatistics (Read)
  • cloudwatch:ListMetrics (List)
DynamoDB: 5 actions
  • dynamodb:BatchGetItem (Read)
  • dynamodb:GetItem (Read)
  • dynamodb:PartiQLSelect (Read)
  • dynamodb:Query (Read)
  • dynamodb:Scan (Read)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

The GeneralReadOnlyAccess statement applies to Resource "*" and allows dynamodb:BatchGetItem, dynamodb:GetItem, dynamodb:Query, dynamodb:Scan, dynamodb:PartiQLSelect, dynamodb:Describe* and dynamodb:List*, the DAX equivalents (dax:GetItem, dax:BatchGetItem, dax:Query, dax:Scan, dax:Describe*, dax:List*), and describe and list actions for Application Auto Scaling, CloudWatch, AWS Data Pipeline, Amazon EC2, IAM, AWS KMS, Amazon SNS, Lambda, AWS Resource Groups and Kinesis. A second statement allows cloudwatch:GetInsightRuleReport on DynamoDBContributorInsights rules.

Use cases

  • Give users, groups or roles read-only access to DynamoDB, including viewing the Application Auto Scaling policies, CloudWatch alarms, KMS keys and Kinesis streams related to a table.

Best practices

  • The best practice is to create custom IAM policies that grant least privilege to the users, roles or groups that require them.

Security considerations

  • The policy reads table data, not only table metadata: it allows dynamodb:GetItem, dynamodb:BatchGetItem, dynamodb:Query, dynamodb:Scan and dynamodb:PartiQLSelect, and the matching DAX actions, on all resources.
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. The Amazon DynamoDB Developer Guide says you can attach it to your IAM identities. It fits where read-only access to DynamoDB is intended.

Same service

Same domain

Frequently asked questions

When should I attach AmazonDynamoDBReadOnlyAccess?
The Amazon DynamoDB Developer Guide says you can attach it to your IAM identities and that it grants read-only access to Amazon DynamoDB. Attach it where reading DynamoDB tables is the intended scope. For narrower access, AWS recommends custom policies that grant least privilege.
What does AmazonDynamoDBReadOnlyAccess grant?
It allows dynamodb:GetItem, dynamodb:BatchGetItem, dynamodb:Query, dynamodb:Scan, dynamodb:PartiQLSelect, dynamodb:Describe* and dynamodb:List*, the DAX equivalents, and describe and list actions for related services such as Application Auto Scaling, CloudWatch, AWS KMS and Kinesis, on all resources.
What are the security risks of AmazonDynamoDBReadOnlyAccess?
It reads item data from every table (dynamodb:Scan, dynamodb:Query) and from DAX clusters. AWS recommends custom IAM policies that grant least privilege, and updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "GeneralReadOnlyAccess",
      "Action": [
        "application-autoscaling:DescribeScalableTargets",
        "application-autoscaling:DescribeScalingActivities",
        "application-autoscaling:DescribeScalingPolicies",
        "cloudwatch:DescribeAlarmHistory",
        "cloudwatch:DescribeAlarms",
        "cloudwatch:DescribeAlarmsForMetric",
        "cloudwatch:GetMetricStatistics",
        "cloudwatch:ListMetrics",
        "cloudwatch:GetMetricData",
        "datapipeline:DescribeObjects",
        "datapipeline:DescribePipelines",
        "datapipeline:GetPipelineDefinition",
        "datapipeline:ListPipelines",
        "datapipeline:QueryObjects",
        "dynamodb:BatchGetItem",
        "dynamodb:Describe*",
        "dynamodb:List*",
        "dynamodb:GetAbacStatus",
        "dynamodb:GetItem",
        "dynamodb:GetResourcePolicy",
        "dynamodb:Query",
        "dynamodb:Scan",
        "dynamodb:PartiQLSelect",
        "dax:Describe*",
        "dax:List*",
        "dax:GetItem",
        "dax:BatchGetItem",
        "dax:Query",
        "dax:Scan",
        "ec2:DescribeVpcs",
        "ec2:DescribeSubnets",
        "ec2:DescribeSecurityGroups",
        "iam:GetRole",
        "iam:ListRoles",
        "kms:DescribeKey",
        "kms:ListAliases",
        "sns:ListSubscriptionsByTopic",
        "sns:ListTopics",
        "lambda:ListFunctions",
        "lambda:ListEventSourceMappings",
        "lambda:GetFunctionConfiguration",
        "resource-groups:ListGroups",
        "resource-groups:ListGroupResources",
        "resource-groups:GetGroup",
        "resource-groups:GetGroupQuery",
        "tag:GetResources",
        "kinesis:ListStreams",
        "kinesis:DescribeStream",
        "kinesis:DescribeStreamSummary"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Sid": "CCIAccess",
      "Action": "cloudwatch:GetInsightRuleReport",
      "Effect": "Allow",
      "Resource": "arn:aws:cloudwatch:*:*:insight-rule/DynamoDBContributorInsights*"
    }
  ]
}

Version history

Current version v15, edited by AWS on 2024-11-18. 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/AmazonDynamoDBReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "amazondynamodbreadonlyaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonDynamoDBReadOnlyAccess"),
);

Sources