By using AWS re:Post, you agree to the AWS re:Post Terms of Use

All Content tagged with Lambda@Edge

Lambda@Edge is a feature of Amazon CloudFront that lets you run code closer to users of your application, which improves performance and reduces latency.

Content language: English

Select up to 5 tags to filter
Sort by most recent
69 results
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 A...
0
answers
1
votes
117
views
asked 3 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: ', JS...
2
answers
0
votes
2.7K
views
asked 3 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
726
views
asked 3 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 {"message":"For...
2
answers
0
votes
1.6K
views
asked 3 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
444
views
asked 3 years ago
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 t...
1
answers
1
votes
803
views
asked 3 years ago
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 he...
1
answers
0
votes
1.4K
views
AWS
asked 3 years ago
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
504
views
asked 3 years ago
I'm trying to follow the demo in the blog posts: 1. [Signed cookie-based authentication with Amazon CloudFront and AWS Lambda@Edge: Part 1 -Authentication](https://aws.amazon.com/blogs/networking-and...
1
answers
0
votes
388
views
asked 3 years ago