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...
1
answers
0
votes
644
views
Tanuj
asked 2 years ago
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...
1
answers
0
votes
408
views
profile picture
asked 2 years ago
I have a node js project which used as a lambda authorizer in AWS. The node project structure will be like below ``` /authorizer /lib ...
1
answers
0
votes
1638
views
asked 2 years ago
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...
2
answers
0
votes
2664
views
asked 2 years ago
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?
2
answers
1
votes
7625
views
ryan123
asked 2 years ago
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...
1
answers
0
votes
1065
views
asked 2 years ago
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...
0
answers
0
votes
97
views
asked 2 years ago
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...
0
answers
1
votes
117
views
asked 2 years ago
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: ',...
2
answers
0
votes
2515
views
asked 2 years ago
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...
2
answers
0
votes
597
views
Maik
asked 2 years ago
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 ...
2
answers
0
votes
1396
views
RazBal
asked 2 years ago
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...
1
answers
0
votes
387
views
rhos
asked 2 years ago