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();
- See Also:
-
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.
- See Also:
-
getDatabaseName
The name of the database to consume within the DocumentDB cluster.- See Also:
-
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.
- See Also:
-
builder
@Stability(Stable) static CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder builder()
-