DocumentDBEventSourceConfig¶
Structure Class¶
DocumentDBEventSourceConfig
dataclass
¶
Specific configuration settings for a DocumentDB event source.
Attributes¶
collection_name
class-attribute
instance-attribute
¶
collection_name: str | None = None
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
database_name
class-attribute
instance-attribute
¶
database_name: str | None = None
The name of the database to consume within the DocumentDB cluster.
full_document
class-attribute
instance-attribute
¶
full_document: FullDocument | None = None
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.