Really interesting post.

I am wondering if you’ve come across the “Throttle” button on the Lambda console page, which sets the reserved function concurrency to zero and will throttle all future invocations. It is useful for this kind of scenario.

Image for post
Image for post

As per the Managing Concurrency documentation if you set the concurrency for a function to zero, then the function will not process any further invocations, so the scenario mentioned here would not have occurred. It would essentially have disabled the Lambda function.

As you found, disabling the trigger does not stop the function from invoking any events already in the queue. The throttle button/concurrency to zero option is there for this purpose.

Written by

ServerlessDays CoFounder (Jeff), ex AWS Serverless Snr DA, experienced CTO/Interim, Startups, Entrepreneur, Techie, Geek and Christian

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store