From 364b0cee31aa971f86c61327fdae048358e8c936 Mon Sep 17 00:00:00 2001 From: Anatolii Papenko Date: Fri, 4 Mar 2022 05:53:33 -0600 Subject: [PATCH] chore(lambda): corrected documentation on the event source maximum batch size for SQS (#18971) https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params > For standard queues, the maximum is 10,000. For FIFO queues, the maximum is 10. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts b/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts index 172d681d1fef9..7840a465b87b2 100644 --- a/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts +++ b/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts @@ -91,7 +91,7 @@ export interface EventSourceMappingOptions { * Valid Range: Minimum value of 1. Maximum value of 10000. * * @default - Amazon Kinesis, Amazon DynamoDB, and Amazon MSK is 100 records. - * Both the default and maximum for Amazon SQS are 10 messages. + * The default for Amazon SQS is 10 messages. For standard SQS queues, the maximum is 10,000. For FIFO SQS queues, the maximum is 10. */ readonly batchSize?: number;