dynamodb-adapter
A library that implements the Write Model Adapter interface for storing events on dynamodb.
Here's an example of the table config in CloudFormation syntax:
Methods
build
build({ entityName }, { tableName, indexName, ...awsOptions )
builds a write model adapter
Parameters
attribute | type | description |
|
| the name of the entity |
|
| the name of the dynamodb table |
|
| the name of the index sorting commits by |
|
| any additional arguments are passed along to AWS, like so: |
Returns
an object with write model methods
Example
adapter.js
Last updated