Class EventSourceMappingDocumentDbEventSourceConfig


  • public final class EventSourceMappingDocumentDbEventSourceConfig
    extends java.lang.Object
    • Method Detail

      • collectionName

        public java.util.Optional<java.lang.String> collectionName()
        Returns:
        Name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
      • databaseName

        public java.lang.String databaseName()
        Returns:
        Name of the database to consume within the DocumentDB cluster.
      • fullDocument

        public java.util.Optional<java.lang.String> fullDocument()
        Returns:
        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`.