Write function code - Amazon CloudFront (original) (raw)

DocumentationAmazon CloudFrontDeveloper Guide

You can use CloudFront Functions to write lightweight functions in JavaScript for high-scale, latency-sensitive CDN customizations. Your function code can manipulate the requests and responses that flow through CloudFront, perform basic authentication and authorization, generate HTTP responses at the edge, and more.

To help you write function code for CloudFront Functions, see the following topics. For code examples, see CloudFront Functions examples for CloudFront and the amazon-cloudfront-functions repository on GitHub.

Topics

Document Conventions

Tutorial: Create a CloudFront function that uses key values

Determine function purpose

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.