AWS Lambda Function URL: New Feature

Waq Ahmed
2 min readApr 7, 2022

I promised in my previous blog about lambda function URL, that I will write another blog whenever AWS release this much-awaited/demanded new feature officially, and here comes the day. AWS just officially announced the AWS Lambda function URL as a new feature in AWS Lambda 👌

Add HTTPS endpoint to lambda functon and invoke directly

There was a huge demand from the customer side to have a simple way of adding HTTPS endpoint in front of the AWS Lambda function, without learning, configuring the additional services (like API Gateway & Application Load balancer) beside lambda.

It came to highlight during last Nov/Dev, when some documentation was released before the re-invent that AWS is going to introduce a new feature in lambda to have an HTTPS endpoint, however, AWS archived the documentation.

Today AWS has officially announced the availability of Lambda Function URLs, a new feature that lets you add HTTPS endpoints to any Lambda function and optionally configure Cross-Origin Resource Sharing (CORS) headers (Source LambdaURL).

This new feature definitely gonna make life so easy for us (developers). Now we can create the function URL and map it to any function

AWS Lambda Function URL

This will help us to create the REST API backend by Lambda function without API Gateway

Use Authentication Method and optionally configure CORS

The resulting lambda URL syntax will be

https://{url-id}.lambda-url.{region}.on.aws

Once set up, you can copy the URL from Lambda console

Please hit the clap icon 👏 if you like this article.

--

--

Waq Ahmed

I’m an DevOps Engineer and have keen interest and experienced in Cloud Computing, Docker, Kubernetes, and InfraStructure provisioning tool