Skip to content

DynamoDB

DynamoDB

Enumeration:

aws dynamodb list-tables --region <AWS_REGION>
aws dynamodb list-tables --region <AWS_REGION> --profile <PROFILE_NAME>

Fetch table contents:

aws dynamodb scan --table-name <TABLE_NAME> --region <AWS_REGION> --profile <PROFILE_NAME>

Know that the "scan" operation will only retrieve up to 1 MB of table results.
In many circumstances you must use the "LastEvaluatedKey" value returned from the initial request to continue pagination through tables that could contain several TB.