Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 26, 2022 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/9b4ff6f738194a2beb772560352266b5 to your computer and use it in GitHub Desktop.
Save richardgrantserverless/9b4ff6f738194a2beb772560352266b5 to your computer and use it in GitHub Desktop.
$ aws dynamodb create-table \
--table-name TestTable \
--attribute-definitions '[
{
"AttributeName": "key",
"AttributeType": "S"
}
]' \
--key-schema '[
{
"AttributeName": "key",
"KeyType": "HASH"
}
]' \
--provisioned-throughput '{
"ReadCapacityUnits": 1,
"WriteCapacityUnits": 1
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment