Home > other >  How can I call my AWS Lambda function URL via a custom domain?
How can I call my AWS Lambda function URL via a custom domain?

Time:04-11

I have created an AWS Lambda with the new function URL feature enabled.

Since the URL isn't that easy to remember, I would like to create a Route 53 alias like lambda.mywebsite.com.

There is no Route 53 alias for Lambda function URLs in the drop-down menu for aliases in Route 53.

How can I call my AWS Lambda function URL via a custom domain?

Is a CNAME record the way to go?

CodePudding user response:

Is a CNAME record the way to go?

Yes.

If you want to call your AWS Lambda function URL via a custom domain, you will need a CNAME record.

There is no support currently for a Route 53 alias record.

They are meant to be the simplest & fastest way to invoke your Lambda functions via a public endpoint without using other AWS services like API gateway, so a lack of support for a custom domain name makes sense.

  • Related