LambdaEdge
Lambda@Edge is a feature of AWS Lambda that enables running code at CloudFront edge locations to customize content as it is delivered to users. It lets developers implement logic close to viewers, reducing latency and allowing dynamic behavior without changing the origin server or application code.
How it works. A Lambda function is created in the US East (N. Virginia) region, published as
Limitations and lifecycle. Updates require publishing a new version, which is then propagated to edge locations.
Use cases. Common scenarios include URL redirects and rewrites, header manipulation for security or caching, geolocation-
Relation to CloudFront Functions. CloudFront Functions is a newer, lighter-weight option for simple, high-performance tasks, while