One more thing, I am not sure if Lambda@Edge charges based on wall-time or cpu-time. Workers' 50ms is cpu-time only and not wall-time. You could, in theory, spend 30s waiting for a
fetch to return as
awaiting on the network doesn't count against a Workers' 50ms cpu-time limit.
Ref: https://developers.cloudflare.com/workers/about/limits/