Last active
February 7, 2022 17:06
-
-
Save ruandre/5d617e307c06b9fe05f40325c4557248 to your computer and use it in GitHub Desktop.
AWS CLI DynamoDB Scan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html | |
# https://docs.aws.amazon.com/cli/latest/index.html | |
# https://stedolan.github.io/jq/ | |
aws dynamodb scan \ | |
--table-name tableName \ | |
--profile dev \ | |
--page-size 5 | jq .Items[] | jq {field1:.field1.S,field2:.field2.S} | json2csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment