From 2a6561157d5639f898ef9d06888741037cb50d16 Mon Sep 17 00:00:00 2001
From: daeltan <50175488+daeltan@users.noreply.github.com>
Date: Wed, 1 May 2019 16:11:08 +0100
Subject: [PATCH 1/2] Added clarity on max batch size for SQS trigger
Not clear on the Lambda GUI why the limit is 10 and not mentioned in Lambda docs.
---
doc_source/with-sqs.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc_source/with-sqs.md b/doc_source/with-sqs.md
index 7580ff8a..243604c5 100644
--- a/doc_source/with-sqs.md
+++ b/doc_source/with-sqs.md
@@ -67,7 +67,7 @@ If a message fails processing multiple times, Amazon SQS can send it to a [dead
## Configuring a Queue as an Event Source
-Create an event source mapping to tell Lambda to send items from your queue to a Lambda function\. You can create multiple event source mappings to process items from multiple queues with a single function\. When Lambda invokes the target function, the event can contain multiple items, up to a configurable maximum batch size\.
+Create an event source mapping to tell Lambda to send items from your queue to a Lambda function\. You can create multiple event source mappings to process items from multiple queues with a single function\. When Lambda invokes the target function, the event can contain multiple items, up to a configurable maximum batch size of 10\. Please note that this limit is imposed by [AWS SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html)\.
**To add an event source mapping for an Amazon SQS queue**
@@ -97,4 +97,4 @@ Lambda needs the following permissions to manage messages in your Amazon SQS que
+ [sqs:DeleteMessage](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessage.html)
+ [sqs:GetQueueAttributes](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueAttributes.html)
-For more information, see [AWS Lambda Execution Role](lambda-intro-execution-role.md)\.
\ No newline at end of file
+For more information, see [AWS Lambda Execution Role](lambda-intro-execution-role.md)\.
From f0cb1a1c54488a7e400ceecadca3ebaaf82c2a95 Mon Sep 17 00:00:00 2001
From: daeltan <50175488+daeltan@users.noreply.github.com>
Date: Wed, 1 May 2019 16:15:10 +0100
Subject: [PATCH 2/2] Clarity on batch size limit for SQS trigger
Not clear on Lambda GUI or docs.
---
doc_source/with-sqs.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc_source/with-sqs.md b/doc_source/with-sqs.md
index 243604c5..48d43079 100644
--- a/doc_source/with-sqs.md
+++ b/doc_source/with-sqs.md
@@ -67,7 +67,7 @@ If a message fails processing multiple times, Amazon SQS can send it to a [dead
## Configuring a Queue as an Event Source
-Create an event source mapping to tell Lambda to send items from your queue to a Lambda function\. You can create multiple event source mappings to process items from multiple queues with a single function\. When Lambda invokes the target function, the event can contain multiple items, up to a configurable maximum batch size of 10\. Please note that this limit is imposed by [AWS SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html)\.
+Create an event source mapping to tell Lambda to send items from your queue to a Lambda function\. You can create multiple event source mappings to process items from multiple queues with a single function\. When Lambda invokes the target function, the event can contain multiple items, up to a configurable maximum batch size\. Please note that the batch size limit is imposed by [AWS SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html)\.
**To add an event source mapping for an Amazon SQS queue**