API Gateway waste check

Unused API Gateway

unused_api_gateway

Medium riskOnline onlyValidation L1Partner and hosted

What it finds

Unused API Gateway: one of the API Gateway checks in the serverless optimization group. Checks in this group look for: serverless functions, state machines and APIs that are unused, mis-sized, on an old runtime, or configured in a way that bills more than needed.

Why it costs money

Serverless bills per request and per unit of memory and time, so a wrong setting multiplies on every invocation.

How it is detected

Runs in the partner build and the paid hosted tiers.

Where this check runs

This check ships in the partner build, for consultancies that scan client accounts, and in the paid hosted tiers.