Created
August 23, 2016 22:37
-
-
Save jbasdf/2514c49d68338f0d6f3f15a7f97e5b98 to your computer and use it in GitHub Desktop.
dynamodb.json - cloud formation partial for creating dynamodb tables
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
{ | |
"Applications" : { | |
"Type" : "AWS::DynamoDB::Table", | |
"Properties" : { | |
"TableName" : "Applications-${stage}", | |
"AttributeDefinitions": [ { | |
"AttributeName" : "name", | |
"AttributeType" : "S" | |
} ], | |
"KeySchema": [ | |
{ "AttributeName": "name", "KeyType": "HASH" } | |
], | |
"ProvisionedThroughput" : { | |
"ReadCapacityUnits" : 5, | |
"WriteCapacityUnits" : 5 | |
} | |
} | |
}, | |
"ApplicationInstances" : { | |
"Type" : "AWS::DynamoDB::Table", | |
"Properties" : { | |
"TableName" : "ApplicationInstances", | |
"AttributeDefinitions": [ { | |
"AttributeName" : "lti_key", | |
"AttributeType" : "S" | |
} ], | |
"KeySchema": [ | |
{ "AttributeName": "lti_key", "KeyType": "HASH" } | |
], | |
"ProvisionedThroughput" : { | |
"ReadCapacityUnits" : 5, | |
"WriteCapacityUnits" : 5 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment