Class CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
Specific configuration settings for a DocumentDB event source.
Inheritance
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public class DocumentDBEventSourceConfigProperty : Object, CfnEventSourceMapping.IDocumentDBEventSourceConfigProperty
Syntax (vb)
Public Class DocumentDBEventSourceConfigProperty
Inherits Object
Implements CfnEventSourceMapping.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
Constructors
DocumentDBEventSourceConfigProperty() |
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. |
Constructors
DocumentDBEventSourceConfigProperty()
public DocumentDBEventSourceConfigProperty()
Properties
CollectionName
The name of the collection to consume within the database.
public string CollectionName { get; set; }
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.
public string DatabaseName { get; set; }
Property Value
System.String
Remarks
FullDocument
Determines what DocumentDB sends to your event stream during document update operations.
public string FullDocument { get; set; }
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.