EventSourceMappingDocumentDbEventSourceConfig

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

Constructors

constructor(collectionName: String? = null, databaseName: String, fullDocument: String? = 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

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

Link copied to clipboard
val fullDocument: String? = null

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. Valid values: UpdateLookup, Default.