Last active
February 13, 2023 23:02
-
-
Save QAInsights/37a5aa30489449da67c918be5dee2f9c to your computer and use it in GitHub Desktop.
AWS DynamoDB Local Instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download DynamoDB Local https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html | |
Launch in Windows | |
`java -D"java.library.path=./DynamoDBLocal_lib" -jar DynamoDBLocal.jar` | |
Create table | |
`aws dynamodb create-table --table-name perfgpt_dev --attribute-definitions AttributeName=username,AttributeType=S AttributeName=datetime,AttributeType=S --key-schema AttributeName=username,KeyType=HASH AttributeName=datetime,KeyType=RANGE --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment