Skip to content

Instantly share code, notes, and snippets.

@QAInsights
Last active February 13, 2023 23:02
Show Gist options
  • Save QAInsights/37a5aa30489449da67c918be5dee2f9c to your computer and use it in GitHub Desktop.
Save QAInsights/37a5aa30489449da67c918be5dee2f9c to your computer and use it in GitHub Desktop.
AWS DynamoDB Local Instructions
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