Skip to content

Instantly share code, notes, and snippets.

@mveeneman
Created April 2, 2020 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mveeneman/e442ee2701ae910a8e97170ae83c2655 to your computer and use it in GitHub Desktop.
Save mveeneman/e442ee2701ae910a8e97170ae83c2655 to your computer and use it in GitHub Desktop.
Search dynamodb with aws cli
#!/bin/bash
#
# When you want to get object my_key_id=="string_value" in DynamoDB
#
aws dynamodb get-item --table-name <table_name> --key ‘{“my_key_id": {“S”:”string_value”}}’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment