Skip to content

DocumentDBEventSourceConfig

Source code in docs_src/capo_lambda/types/document_db_event_source_config.py
class DocumentDBEventSourceConfig(TypedDict, closed=True):
    database_name: NotRequired["capo_lambda.types.database_name.DatabaseName"]
    """<p> The name of the database to consume within the DocumentDB cluster. </p>"""
    collection_name: NotRequired["capo_lambda.types.collection_name.CollectionName"]
    """<p> The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections. </p>"""
    full_document: NotRequired["capo_lambda.types.full_document.FullDocument"]
    """<p> 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. </p>"""

collection_name instance-attribute

collection_name: NotRequired[CollectionName]

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

database_name instance-attribute

database_name: NotRequired[DatabaseName]

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

full_document instance-attribute

full_document: NotRequired[FullDocument]

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.