Skip to content

Instantly share code, notes, and snippets.

@skwp
Created October 15, 2016 01:58
Show Gist options
  • Save skwp/d5f258930925c9406bc7c9ff3581e230 to your computer and use it in GitHub Desktop.
Save skwp/d5f258930925c9406bc7c9ff3581e230 to your computer and use it in GitHub Desktop.
aws dynamodb query \
--table-name app-config \
--key-condition-expression \
"app_name = :app_name" \
--expression-attribute-values \
"{\":app_name\": {\"S\": \"my_app\"}}" \
--limit 1 --no-scan-index-forward \
| jq -r ".Items[0].my_key.S"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment