Skip to content

Configuration options

Trym Skaar edited this page Feb 24, 2018 · 1 revision
  • ddbes.config.update()
  • static properties on the Aggregate class
  • passed to AggregateClass constructor(), static load() or static create()

Configuration parameters:

Parameter Default Description
AWS configured aws-sdk instance to use
tableName ddbes DynamoDB table name to use
snapshots false enable/disble snapshots
snapshotsBucket name of S3 bucket to use for snapshots
snapshotsPrefix S3 key prefix for snapshots
snapshotsFrequency 100 How often snapshots is taken (each snapshotsFrequency commits)
logger logger that supports .debug(), .info(), .warn(), .error()