Interface CfnEventSourceMapping.IDocumentDBEventSourceConfigProperty
Specific configuration settings for a DocumentDB event source.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface IDocumentDBEventSourceConfigProperty
Syntax (vb)
Public Interface IDocumentDBEventSourceConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var documentDBEventSourceConfigProperty = new DocumentDBEventSourceConfigProperty {
CollectionName = "collectionName",
DatabaseName = "databaseName",
FullDocument = "fullDocument"
};
Synopsis
Properties
CollectionName | The name of the collection to consume within the database. |
DatabaseName | The name of the database to consume within the DocumentDB cluster. |
FullDocument | Determines what DocumentDB sends to your event stream during document update operations. |
Properties
CollectionName
The name of the collection to consume within the database.
virtual string CollectionName { get; }
Property Value
System.String
Remarks
If you do not specify a collection, Lambda consumes all collections.
DatabaseName
The name of the database to consume within the DocumentDB cluster.
virtual string DatabaseName { get; }
Property Value
System.String
Remarks
FullDocument
Determines what DocumentDB sends to your event stream during document update operations.
virtual string FullDocument { get; }
Property Value
System.String
Remarks
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.