Skip to content

Instantly share code, notes, and snippets.

@leskaa
Last active June 22, 2021 19:13
Show Gist options
  • Save leskaa/8fd694c8ddbef4e383c21d817c6b5bda to your computer and use it in GitHub Desktop.
Save leskaa/8fd694c8ddbef4e383c21d817c6b5bda to your computer and use it in GitHub Desktop.
aws dynamodb create-table \
--table-name Greeting \
--attribute-definitions \
AttributeName=id,AttributeType=S \
--key-schema AttributeName=id,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1 \
--endpoint-url http://localhost:8000/
aws dynamodb scan \
--table-name Greeting \
--endpoint-url http://localhost:8000/
aws dynamodb create-table \
--table-name Birthday \
--attribute-definitions \
AttributeName=id,AttributeType=S \
--key-schema AttributeName=id,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1 \
--endpoint-url http://localhost:8000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment