EventSourceMappingDocumentDbEventSourceConfig constructor
const
EventSourceMappingDocumentDbEventSourceConfig({})
Creates a new EventSourceMappingDocumentDbEventSourceConfig.
collectionName Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
databaseName Name of the database to consume within the DocumentDB cluster.
fullDocument DocumentDB behavior during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. Valid values: UpdateLookup, Default.
Implementation
const EventSourceMappingDocumentDbEventSourceConfig({
this.collectionName,
required this.databaseName,
this.fullDocument,
});