Interface CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnEventSourceMapping
@Stability(Stable)
public static interface CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specific configuration settings for a DocumentDB event source.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lambda.*;
 DocumentDBEventSourceConfigProperty documentDBEventSourceConfigProperty = DocumentDBEventSourceConfigProperty.builder()
         .collectionName("collectionName")
         .databaseName("databaseName")
         .fullDocument("fullDocument")
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEventSourceMapping.DocumentDBEventSourceConfigProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe name of the collection to consume within the database.default StringThe name of the database to consume within the DocumentDB cluster.default StringDetermines what DocumentDB sends to your event stream during document update operations.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getCollectionNameThe name of the collection to consume within the database.If you do not specify a collection, Lambda consumes all collections. 
- 
getDatabaseNameThe name of the database to consume within the DocumentDB cluster.
- 
getFullDocumentDetermines 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. 
- 
builder@Stability(Stable) static CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder builder()
 
-