Interface CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnEventSourceMapping
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 Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnEventSourceMapping.DocumentDBEventSourceConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the collection to consume within the database.default String
The name of the database to consume within the DocumentDB cluster.default String
Determines what DocumentDB sends to your event stream during document update operations.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCollectionName
The name of the collection to consume within the database.If you do not specify a collection, Lambda consumes all collections.
-
getDatabaseName
The name of the database to consume within the DocumentDB cluster. -
getFullDocument
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.
-
builder
@Stability(Stable) static CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder builder()
-