@Stability(value=Stable)
public static interface CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder
|
static class |
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Jsii$Proxy
An implementation for
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder |
builder() |
default String |
getCollectionName()
The name of the collection to consume within the database.
|
default String |
getDatabaseName()
The name of the database to consume within the DocumentDB cluster.
|
default String |
getFullDocument()
Determines what DocumentDB sends to your event stream during document update operations.
|
@Stability(value=Stable) @Nullable default String getCollectionName()
If you do not specify a collection, Lambda consumes all collections.
@Stability(value=Stable) @Nullable default String getDatabaseName()
@Stability(value=Stable) @Nullable default String getFullDocument()
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.
@Stability(value=Stable) static CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder builder()
Copyright © 2023. All rights reserved.