Skip to content

Commit 4921cf2

Browse files
authored
Merge pull request awsdocs#77 from cbporch/patch-1
updating anchor name for example 3
2 parents 729226c + ab87e53 commit 4921cf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc_source/invoking-lambda-functions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ Note the following:
6060
+ AWS Lambda does not need permission to invoke your Lambda function, therefore you don't need to add any permissions to the permissions policy attached to your Lambda function\.
6161
+ Your Lambda role needs permission to read from the stream\.
6262

63+
6364
## Example 3: AWS Lambda Pulls Events from an Amazon SQS Queue and Invokes a Lambda Function<a name="example-lambda-pulls-sqs-events-invokes-function"></a>
6465

66+
6567
For poll\-based event sources, AWS Lambda polls the source and then invokes the Lambda function when records are detected on that source\. For poll\-based sources, event source mapping information is stored in AWS Lambda\. AWS Lambda provides an API for you to create and manage these event source mappings\.
6668
+ [CreateEventSourceMapping](API_CreateEventSourceMapping.md)
6769
+ [UpdateEventSourceMapping](API_UpdateEventSourceMapping.md)
@@ -83,4 +85,4 @@ Note the following:
8385
+ You create event source mappings in AWS Lambda\.
8486
+ AWS Lambda invokes the Lambda function synchronously \(referred to as the *pull model*\)\.
8587
+ AWS Lambda does not need permission to invoke your Lambda function, therefore you don't need to add any permissions to the permissions policy attached to your Lambda function\.
86-
+ Your Lambda role needs permission to read from the queue and queue attributes\.
88+
+ Your Lambda role needs permission to read from the queue and queue attributes\.

0 commit comments

Comments
 (0)