lambda@edge (on the fly)
Last updated
Was this helpful?
Last updated
Was this helpful?
CloudFront Functions
Lambda@Edge
Runtime support
JavaScript (ECMAScript 5.1 compliant)
Node.js, Python
Execution location
218+ CloudFront Edge Locations
13 CloudFront Regional Edge Caches
CloudFront triggers supported
Viewer request Viewer response
Viewer request Viewer response Origin request Origin response
Maximum execution time
Less than 1 millisecond
5 seconds (viewer triggers) 30 seconds (origin triggers)
Maximum memory
2MB
128MB (viewer triggers) 10GB (origin triggers)
Total package size
10 KB
1 MB (viewer triggers) 50 MB (origin triggers)
Network access
No
Yes
File system access
No
Yes
Access to the request body
No
Yes
Pricing
Free tier available; charged per request
No free tier; charged per request and function duration
connect cloud front to S3
query-string also can cache