Last active
June 29, 2020 18:17
-
-
Save camin-mccluskey/afce37f2dba1ad4783ca5907c248c130 to your computer and use it in GitHub Desktop.
Cats Table Definition
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
{ | |
"AttributeDefinitions": [ | |
{ | |
"AttributeName": "name", | |
"AttributeType": "S" | |
}, | |
{ | |
"AttributeName": "owner", | |
"AttributeType": "S" | |
} | |
], | |
"TableName": "Cats", | |
"KeySchema": [ | |
{ | |
"AttributeName": "name", | |
"KeyType": "HASH" | |
} | |
], | |
"ProvisionedThroughput": { | |
"ReadCapacityUnits": 3, | |
"WriteCapacityUnits": 3 | |
}, | |
"GlobalSecondaryIndexes": [ | |
{ | |
"IndexName": "idx_owner", | |
"KeySchema": [ | |
{ | |
"AttributeName": "owner", | |
"KeyType": "HASH" | |
} | |
], | |
"Projection": { | |
"ProjectionType": "ALL" | |
}, | |
"ProvisionedThroughput": { | |
"ReadCapacityUnits": 3, | |
"WriteCapacityUnits": 3 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment