QueryTable.sh 329 B

12345678910111213
  1. #!/bin/bash
  2. TABLE_NAME='elaborate_employee_table'
  3. INDEX_NAME='position_application_index'
  4. aws \
  5. dynamodb \
  6. query \
  7. --table-name ${TABLE_NAME} \
  8. --key-condition-expression "#i = :n" \
  9. --expression-attribute-values file://query_attr_values.json \
  10. --expression-attribute-names file://query_attr_names.json \
  11. --profile test | jq .