class Amazonite::Lambda::DocumentDBEventSourceConfig

Overview

Specific configuration settings for a DocumentDB event source.

Included Modules

Defined in:

lambda/document_db_event_source_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(database_name : String | Nil = nil, collection_name : String | Nil = nil, full_document : FullDocument | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def collection_name : String | Nil #

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


[View source]
def collection_name=(collection_name : String | Nil) #

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


[View source]
def database_name : String | Nil #

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


[View source]
def database_name=(database_name : String | Nil) #

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


[View source]
def full_document : FullDocument | Nil #

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.


[View source]
def full_document=(full_document : FullDocument | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]