AWS Lambda Function URLs — A beginner’s guide
AWS has recently launched Lambda Function URLs, a brand new feature which allows you to map a built-in HTTPS endpoint to any of your Lambda function.
It allows you to configure the CORS, Authorization, Allowed HTTP methods and many other useful configurations so that you can focus more on your core functionality.
Advantages of Lambda Function URLs
- Highly available
- Scalable
- Secured HTTPS service
What we will cover:
- How to create an AWS Lambda https endpoint
- How to handle different HTTP methods
- Other available configurations.
Don’t have a Medium subscription? No worries! Hop on over here to read it for free.
Creating an AWS Lambda URL
Creating an AWS Lambda endpoint is very easy, go to the AWS Lambda Console, click on Create Function.
Choose the desired Function name and Runtime, scroll down a bit and click on Advanced settings. Enable the checkmark against the Enable function URL.