Code documentation : https://github.com/aws/aws-cdk/blob/master/packages/@aws-cdk/aws-lambda-event-sources/lib/sqs.ts
export interface SqsEventSourceProps {
/**
* The largest number of records that AWS Lambda will retrieve from your event
* source at the time of invoking your function. Your function receives an
* event with all the retrieved records.
*
* Valid Range: Minimum value of 1. Maximum value of 10.
*
* @default 10
*/
readonly batchSize?: number;
But as per #11722 as well as the code, it seems that if the maxBatchingWindow is defined, batchSize can go upto 10,000. It would be good if this was documented in the interface itself.
This is a 📕 documentation issue
Code documentation : https://github.com/aws/aws-cdk/blob/master/packages/@aws-cdk/aws-lambda-event-sources/lib/sqs.ts
But as per #11722 as well as the code, it seems that if the maxBatchingWindow is defined, batchSize can go upto 10,000. It would be good if this was documented in the interface itself.
This is a 📕 documentation issue