Skip to content

Instantly share code, notes, and snippets.

@camin-mccluskey
Last active June 29, 2020 18:17
Show Gist options
  • Save camin-mccluskey/afce37f2dba1ad4783ca5907c248c130 to your computer and use it in GitHub Desktop.
Save camin-mccluskey/afce37f2dba1ad4783ca5907c248c130 to your computer and use it in GitHub Desktop.
Cats Table Definition
{
"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