Skip to main content

CloudFront Function

Amazon CloudFront is a content delivery network (CDN) service that enables you to distribute content with low latency and high transfer speeds. CloudFront Functions allow you to execute JavaScript code at the edge locations near end users to customize the behavior of web requests and responses, making caching decisions and analytics processes more efficient. With CloudFront Functions, you can implement custom logic that enhances your CDN's capabilities without affecting the origin server. For more details, visit the official Amazon CloudFront Functions documentation.

Terraform Mappings:

  • aws_cloudfront_function.name

Supported Methods​

  • GET: Get a CloudFront Function by name
  • LIST: List CloudFront Functions
  • SEARCH: Search CloudFront Functions by ARN