Skip to content

Instantly share code, notes, and snippets.

@oxlb
Created August 8, 2021 02:36
Show Gist options
  • Save oxlb/39b15c46c4ce862cc059bc401286fc67 to your computer and use it in GitHub Desktop.
Save oxlb/39b15c46c4ce862cc059bc401286fc67 to your computer and use it in GitHub Desktop.
aws dynamodb --endpoint-url=http://localhost:4566 create-table \
--table-name Music \
--attribute-definitions \
AttributeName=Artist,AttributeType=S \
AttributeName=SongTitle,AttributeType=S \
--key-schema \
AttributeName=Artist,KeyType=HASH \
AttributeName=SongTitle,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=10,WriteCapacityUnits=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment