Lambda parameters for Amazon SQS event source mappings
All Lambda event source types share the same CreateEventSourceMapping and UpdateEventSourceMapping API operations. However, only some of the parameters apply to Amazon SQS.
Parameter | Required | Default | Notes |
---|---|---|---|
BatchSize |
N |
10 |
For standard queues, the maximum is 10,000. For FIFO queues, the maximum is 10. |
Enabled |
N |
true |
none |
EventSourceArn |
Y |
N/A |
The ARN of the data stream or a stream consumer |
FunctionName |
Y |
N/A | none |
FilterCriteria |
N |
N/A |
|
FunctionResponseTypes |
N |
N/A |
To let your function report specific failures in a batch, include the value
|
MaximumBatchingWindowInSeconds |
N |
0 |
Batching window is not supported for FIFO queues |
ScalingConfig |
N |
N/A |
Configuring maximum concurrency for Amazon SQS event sources |