AWS::Lambda::EventSourceMapping DocumentDBEventSourceConfig - AWS CloudFormation (original) (raw)

Specific configuration settings for a DocumentDB event source.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "CollectionName" : String,
  "DatabaseName" : String,
  "FullDocument" : String
}

YAML

  CollectionName: String
  DatabaseName: String
  FullDocument: String

Properties

CollectionName

The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

Required: No

Type: String

Minimum: 1

Maximum: 57

Update requires: No interruption

DatabaseName

The name of the database to consume within the DocumentDB cluster.

Required: No

Type: String

Minimum: 1

Maximum: 63

Update requires: No interruption

FullDocument

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.

Required: No

Type: String

Allowed values: UpdateLookup | Default

Update requires: No interruption

DestinationConfig

Endpoints

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.