class
Amazonite::Lambda::DocumentDBEventSourceConfig
- Amazonite::Lambda::DocumentDBEventSourceConfig
- Reference
- Object
Overview
Specific configuration settings for a DocumentDB event source.
Included Modules
- JSON::Serializable
Defined in:
lambda/document_db_event_source_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(database_name : String | Nil = nil, collection_name : String | Nil = nil, full_document : FullDocument | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#collection_name : String | Nil
The name of the collection to consume within the database.
-
#collection_name=(collection_name : String | Nil)
The name of the collection to consume within the database.
-
#database_name : String | Nil
The name of the database to consume within the DocumentDB cluster.
-
#database_name=(database_name : String | Nil)
The name of the database to consume within the DocumentDB cluster.
-
#full_document : FullDocument | Nil
Determines what DocumentDB sends to your event stream during document update operations.
-
#full_document=(full_document : FullDocument | Nil)
Determines what DocumentDB sends to your event stream during document update operations.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
The name of the database to consume within the DocumentDB cluster.
The name of the database to consume within the DocumentDB cluster.
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.
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.