AWS Lambda recursive loop detection is now available in Europe Sovereign Cloud
AWS Lambda recursive loop detection is now available in the Europe Sovereign Cloud. It is enabled by default and automatically detects and stops recursive invocations between Lambda functions and supported services, preventing unexpected billing.
AWS Lambda now supports detecting recursive loops in the Europe sovereign cloud. This feature automatically identifies and stops recursive calls between Lambda functions and supported services, preventing unexpected charges from unintended loops. When misconfigurations or code defects cause events to return to the same source (like Amazon S3, Amazon SQS, or Amazon SNS) that triggered the Lambda function, recursive loops may occur. Upon detection, recursive loop detection automatically halts event processing and sends an AWS Health Dashboard notification with troubleshooting steps. The feature is enabled by default for Lambda functions using supported SDK versions, and can be disabled for intentional recursive loops using the PutFunctionRecursionConfig API.
Why it matters
Useful for developers building event-driven applications with Lambda functions and event sources like S3, SQS, and SNS. Prevents unexpected billing and resource overuse caused by recursive loops.