Created
October 15, 2016 01:58
-
-
Save skwp/d5f258930925c9406bc7c9ff3581e230 to your computer and use it in GitHub Desktop.
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
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