AWSLambdaDocumentDBEventSourceConfig

Objective-C

@interface AWSLambdaDocumentDBEventSourceConfig

Swift

class AWSLambdaDocumentDBEventSourceConfig

Specific configuration settings for a DocumentDB event source.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable collectionName;

    Swift

    var collectionName: String? { get set }
  • The name of the database to consume within the DocumentDB cluster.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable databaseName;

    Swift

    var databaseName: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaFullDocument fullDocument;

    Swift

    var fullDocument: AWSLambdaFullDocument { get set }