Questions tagged with Lambda@Edge
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
We have a Cloudfront distribution whose origin is set to an application load balancer(by default). We want to set this load balancer host based on user's CloudFront-Viewer-Country. Below is the lambda...
I have a Lambda@Edge on `origin-request` and it returns a `Server-Timing` header, however the value is ignored or missing.
According to the Cloudfront documentation on [Server-Timing header...
I have a node js project which used as a lambda authorizer in AWS. The node project structure will be like below
```
/authorizer
/lib
...
I have recently used aws amplify to host my nextjs SSR app. By default, it somehow selected north virginia region for s3 bucket due to which i am facing latency in getting images on my website. Can i...
Hello
I made a mistake. I deleted the lambda function that I was using.
I want to restore the deleted lambda function.
Can you tell me how?
Hi,
I have an issue with an Origin Request Lambda@Edge lambda. After it returns the modified request object the request throws an error and returns a 400. (I checked the requests never reached the...
I'm using AWS Amplify to host a next SSR application.
My environment is configured to use node 16.13.0. This is working at build time.
At the moment of the deploying, the lambda@edge generated for...
I am deploying next.js application with auth0 authentication onto AWS Amplify. This is working on localhost as expected.
I created "Environment variables" with AUTH0_SECRET and others in the amplify...
I created a simple Lambda@Edge function like below.
```
'use strict';
exports.handler = async function(event, context, callback) {
const cf = event.Records[0].cf;
console.log('Record: ',...
Hi all,
I have an infrastructure consisting of Cloudfront and an ALB as the source of this distribution.
I need to direct requests not only to the ALB Target Group but also to redirect requests to an...
I am able to access the Lambda function directly or via the custom domain with a 200 status. However, configuring a Lambda@edge function to redirect to the custom origin results in a ...
We have created a lambda@edge function (nodejs 14 with default aws sdk) that retrieves an object from an S3 Object Lambda accesspoint. Most of the time everything works correctly, but from one moment...