AWS Networking·
Introducing network calls in Amazon CloudFront Functions
TL;DR
CloudFront Functions previously couldn’t query live services, forcing real-time authorization and bot checks into Lambda@Edge or application servers. New cf.fetch() and cf.beacon() methods let functions query origins configured on the same distribution or send background events, keeping decision-making at the edge. This enables lower-latency request handling and simpler analytics collection; DataDome reported 60% lower customer costs than its Lambda@Edge integration.
Relevant links
- Amazon CloudFrontaws.amazon.com
- Announcementsaws.amazon.com
- Launchaws.amazon.com
- Networking & Content Deliveryaws.amazon.com
- CloudFront documentationdocs.aws.amazon.com
- CloudFront pricing pageaws.amazon.com
- CloudFront Functions documentationdocs.aws.amazon.com
- Amazon CloudFront Functionsaws.amazon.com
- Lambda@Edgeaws.amazon.com
- network callsaws.amazon.com