Fugue.AWS.Lambda.EventSourceMapping

This is the preferred interface for making Lambda Event Source Mappings with Fugue. If you want to manage a Lambda Event Source Mapping with Fugue, the newWithDynamoStream and newWithKinesisStream functions are the right place to start.

Module Members

newWithDynamoStream

(Function)

Type Signature

 fun { table: Table,
       function: Function,
       enabled: Optional<Bool>,
       batchSize: Optional<Int> } -> EventSourceMapping
Argument: table
Type: Table
Argument: function
Type: Function
Argument: enabled
Type: Optional<Bool>
Argument: batchSize
Type: Optional<Int>
Returns:
Type: EventSourceMapping

newWithKinesisStream

(Function)

Type Signature

 fun { stream: Stream,
       function: Function,
       enabled: Optional<Bool>,
       batchSize: Optional<Int>,
       startingPosition: EventSourcePosition,
       startingPositionTimestamp: Optional<Int> } -> EventSourceMapping
Argument: stream
Type: Stream
Argument: function
Type: Function
Argument: enabled
Type: Optional<Bool>
Argument: batchSize
Type: Optional<Int>
Argument: startingPosition
Type: EventSourcePosition
Argument: startingPositionTimestamp
Type: Optional<Int>
Returns:
Type: EventSourceMapping