Skip to content

Instantly share code, notes, and snippets.

@jac18281828
Created November 21, 2019 16:41
Show Gist options
  • Select an option

  • Save jac18281828/c2183ee0d2394880c6b8259b2c762931 to your computer and use it in GitHub Desktop.

Select an option

Save jac18281828/c2183ee0d2394880c6b8259b2c762931 to your computer and use it in GitHub Desktop.
aws cli dynamodb scan
#!/usr/bin/env /bin/sh
for table in book
do
echo ${table}
aws dynamodb scan \
--table-name=${table} \
--attributes-to-get '["Count", "ScannedCount", "ConsumedCapacity"]' \
--endpoint-url http://localhost:9198
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment