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.
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
2375
views
asked 2 years agolg...
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
7087
views
asked 2 years agolg...
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
978
views
asked 2 years agolg...
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 agolg...
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
116
views
asked 2 years agolg...
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
2415
views
asked 2 years agolg...
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
549
views
asked 2 years agolg...
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
1280
views
asked 2 years agolg...
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
348
views
asked 2 years agolg...
We have an Angular SPA hosted on S3/CloudFront and we would like to use path-based routing. When a link like https://ourapplication.com/foo/bar is opened in a browser, we need the request to resolve...
1
answers
1
votes
435
views
asked 2 years agolg...
I built a lambda@edge that I use to authenticate calls on viewer request. If a request is rejected I want to play back as few information as possible to the caller and therefore want to remove some...
1
answers
0
votes
1200
views
asked 2 years agolg...
Hello! I'm having trouble deleting a lambda@edge function that was replicated. The documentation says that it should be deleted within a few hours, but it's been about a day. In other cases, I've seen...
1
answers
0
votes
412
views
asked 2 years agolg...