Last active
September 6, 2020 12:24
-
-
Save subzero112233/a44d7c9bb74a723f9df35d3642f4c31a to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
aws dynamodb create-table \ | |
--table-name SanAntonioSpurs \ | |
--attribute-definitions AttributeName=PlayerName,AttributeType=S AttributeName=JerseyNumber,AttributeType=N \ | |
--key-schema AttributeName=PlayerName,KeyType=HASH AttributeName=JerseyNumber,KeyType=RANGE \ | |
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 | |
aws dynamodb put-item --table-name SanAntonioSpurs --item "{\"PlayerName\":{\"S\":\"Manu Ginobili\"},\"JerseyNumber\":{\"N\":\"20\"}, \"Position\":{\"S\":\"Shooting Guard\"}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment