Lambda parameters for Amazon SQS event source mappings - Amazon Lambda
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.

Event source parameters that 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

EventSourceArn

Y

The ARN of the data stream or a stream consumer

FunctionName

Y

FilterCriteria

N

Lambda event filtering

FunctionResponseTypes

N

To let your function report specific failures in a batch, include the value ReportBatchItemFailures in FunctionResponseTypes. For more information, see Implementing partial batch responses.

MaximumBatchingWindowInSeconds

N

0

ScalingConfig

N

Configuring maximum concurrency for Amazon SQS event sources