0
votes

I'm learning AWS Lambda, a bit confused about this one, in official FaQ it says:

Q: What happens if my Lambda function fails during processing an event?

On failure, Lambda functions being invoked synchronously will respond with an exception. Lambda functions being invoked asynchronously are retried at least 3 times. Events from Amazon Kinesis streams and Amazon DynamoDB streams are retried until the Lambda function succeeds or the data expires. Kinesis and DynamoDB Streams retain data for a minimum of 24 hours.

However, in the Lambda console, it can only be selected as 0, 1, 2 (shown in the figure below) enter image description here enter image description here

1
There is no need in retry to invoke Lambda asynchronously. Is it what you're asking?nickolay.laptev

1 Answers

1
votes

I think 3 times you mention contains the first try.

If you test, you can find lambda retry twice by default on asynchronous-invocation(for me, s3 event notification).

In addition, other the two references are saying like the below

reference1

Lambda attempts to run it two more times by default.

reference2

Asynchronous invocation – Lambda retries function errors twice.