Lambda waste check

Unused Lambda

unused_lambda

High riskAir-Gapped and onlineValidation L2In the local scan

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.

Run it yourself

Nothing leaves your machine unless you choose to share a summary at the end.