What matters in AI.

Subscribe

Amazon CloudFront Functions can use live data at the edge

A function can check the token of an AI agent at the edge, before the traffic gets to your API.

Amazon added network calls to CloudFront Functions, small programs that operate at edge locations, the servers near the user. The new methods cf.fetch and cf.beacon let a function get data from an origin, the server that holds the content. The calls work at all edge locations. Each million calls has a price of $0.10, plus the usual function charges.

How it works

Before, a function could use only data that it had. At this time cf.fetch sends the token, the URL and the method to an authorization server. The function uses the result. cf.beacon sends a metric in the background, and the page does not wait.

The numbers

DataDome finds bots and fraud. It rebuilt its tool on the new calls. Amazon tells that DataDome saw 60% lower cost for its customers than with Lambda@Edge, the previous alternative. Amazon gave no test results for speed.

What is not known

A function can use only an origin that is on the same distribution. The price for flat-rate plans is not clear. No numbers show the added time of a network call.

Insight: Edge firms race to hold the agent gate

Amazon lets a function check the token and the budget of an agent at the edge. In October 2026, Cloudflare put a script at the edge to give agents tools on almost 100,000 domains. This reads as a race to hold the agent checkpoint at the edge, and the first one that teams use can control the traffic. If you open an API to agents, your edge supplier can see that traffic.

Sources

  1. Introducing network calls in Amazon CloudFront Functionsaws.amazon.com
AI MATTER · NEWS · AI MATTER · NEWS ·18 NOV2026

Posted

Tags

More in Security

All Security news