resolve-storage-dynamo
This package is a resolve-es
adapter for storing events using DynamoDB.
Available Parameters
...connectionOptions
- a DynamoDB connection options. Refer to Connection Options Format for more information.tableName
- a name of a table storing events.billingMode
- billing mode for dynamodb table.readCapacityUnits
- the maximum number of strongly consistent reads consumed per second.writeCapacityUnits
- the maximum number of writes consumed per second.
Usage
[PROVISIONED] Billing Mode
const connectionOptions = region: 'localhost' endpoint: 'http://localhost:8000' accessKeyId: 'xxx' secretAccessKey: 'xxx' const adapter =
[PAY_PER_REQUEST] Billing Mode
const connectionOptions = region: 'localhost' endpoint: 'http://localhost:8000' accessKeyId: 'xxx' secretAccessKey: 'xxx' const adapter =
As Resource
const lazyResource = await await await await