Created
October 22, 2015 14:23
-
-
Save kristajg/b0ed5f6d7f3bc980ca74 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
// Vanilla db model for dynamoDB | |
module.exports = { | |
TableName: 'preamp-project', | |
KeySchema: [ | |
{ | |
AttributeName: 'id', | |
KeyType: 'HASH' | |
}, | |
{ | |
AttributeName: 'accountId', | |
KeyType: 'RANGE' | |
} | |
], | |
AttributeDefinitions: [ | |
{ | |
AttributeName: 'id', | |
AttributeType: 'S' | |
}, | |
{ | |
AttributeName: 'accountId', | |
AttributeType: 'S' | |
}, | |
{ | |
AttributeName: 'name', | |
AttributeType: 'S' | |
} | |
], | |
ProvisionedThroughput: { | |
ReadCapacityUnits: 1, | |
WriteCapacityUnits: 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment