From 972da668b1544e4f7162246272b17a6ae0f7f74f Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 2 May 2025 12:39:08 +0530 Subject: [PATCH] document new lambda@edge improvements --- content/en/user-guide/aws/cloudfront/index.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/en/user-guide/aws/cloudfront/index.md b/content/en/user-guide/aws/cloudfront/index.md index 66725e7ddb..1df35b25a6 100644 --- a/content/en/user-guide/aws/cloudfront/index.md +++ b/content/en/user-guide/aws/cloudfront/index.md @@ -70,14 +70,17 @@ This feature is still under development, and functionality is limited. You can enable this feature by setting `CLOUDFRONT_LAMBDA_EDGE=1` in your LocalStack configuration. ### Current features + - Support for [`CreateDistribution`](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateDistribution.html) API to set up CloudFront distributions with Lambda@Edge. - Support for modifying request and response headers dynamically. +- Support for [`IncludeBody`](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_LambdaFunctionAssociation.html#cloudfront-Type-LambdaFunctionAssociation-IncludeBody) parameter. +- Support for Node.js & Python 3.x runtime. + +### Current limitations -### Known limitations - The [`UpdateDistribution`](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html), [`DeleteDistribution`](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_DeleteDistribution.html), and [`Persistence Restore`](https://docs.localstack.cloud/user-guide/state-management/persistence/) features are not yet supported for Lambda@Edge. - Lack of full support for `viewer-request` and `viewer-response` event types. Please expect inconsistencies and missing functionality. -- [`IncludeBody`](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_LambdaFunctionAssociation.html#cloudfront-Type-LambdaFunctionAssociation-IncludeBody) option is currently not supported. ## Using custom URLs