Created
March 23, 2023 02:42
-
-
Save jecc1982/fcbf88b83c88d6dddf6a54c8c382316d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Create new DynamoDb Local table for testing | |
| aws dynamodb create-table --endpoint-url http://localhost:8000 \ | |
| --table-name SimulationJobs \ | |
| --attribute-definitions \ | |
| AttributeName=PK,AttributeType=S \ | |
| AttributeName=SK,AttributeType=S \ | |
| --key-schema \ | |
| AttributeName=PK,KeyType=HASH \ | |
| AttributeName=SK,KeyType=RANGE \ | |
| --billing-mode PAY_PER_REQUEST \ | |
| --table-class STANDARD | |
| # Delete the table | |
| aws dynamodb delete-table --table-name SimulationJobs --endpoint-url http://localhost:8000 | |
| # Dump all content | |
| $ aws dynamodb scan --table-name SimulationJobs --endpoint-url http://localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment