Lambda waste check
Unused Lambda
unused_lambda
What it finds
Finds Lambda functions that are never invoked and add clutter and risk to the account.
One of the Lambda checks, in the serverless optimization group.
How it is detected
Zero invocations for 30 days, on a function last changed at least 30 days ago
Detection confidence: HIGH. This is the criterion from our public docs. It runs in a local scan with your own read-only credentials.
- Signal
- CloudWatch Invocations for the function (AWS/Lambda)
- Statistic
- Daily Sum
- Window
- 30 days, and the function's last update must be at least that old
- Monthly figure
- The function's code size in GB multiplied by the per-GB monthly storage price. This is a cleanup finding, so the saving is small by design.
- How to fix
- Delete the function after checking no schedule, trigger or async caller still uses it.
- In the docs
- This check in the detector reference
Run it yourself
Nothing leaves your machine unless you choose to share a summary at the end.