Skip to content

Commit

Permalink
chore(lambda): corrected documentation on the event source maximum ba…
Browse files Browse the repository at this point in the history
…tch 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*
  • Loading branch information
privettoli authored Mar 4, 2022
1 parent f46a14d commit 364b0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 364b0ce

Please sign in to comment.