EventSourceMappingDocumentDbEventSourceConfig

data class EventSourceMappingDocumentDbEventSourceConfig(val collectionName: String? = null, val databaseName: String? = null, val fullDocument: EventSourceMappingDocumentDbEventSourceConfigFullDocument? = null)

Specific configuration settings for a DocumentDB event source.

Constructors

constructor(collectionName: String? = null, databaseName: String? = null, fullDocument: EventSourceMappingDocumentDbEventSourceConfigFullDocument? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val collectionName: String? = null

The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

Link copied to clipboard
val databaseName: String? = null

The name of the database to consume within the DocumentDB cluster.

Link copied to clipboard

Determines what DocumentDB sends to your event stream 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.