can we attach the custom domain to lambda function urls ?

0

can we attach the custom domain to lambda function urls ? I assume we can create the custom domain in route53 and we can link the custom domain to the function urls. Will this work ? or are there any better alternatives to do this ? Or any challenge in linking custom domain in Route53 with function urls ?

I understand we can attach the lambda with API GW to attach the custom domain. But I don't want to go to API gateway again and attach the custom domain to API Gateway. The whole point of function urls and this questions is to avoid using the API GW on top of lambda.

1回答
3
承認された回答

Lambda function URLs are intended to be very lightweight way if invoking Lambda functions. They have limited capabilities, custom domain names is not one of them. Creating an alias in Route53 will not help as the Lambda service will not know which function it needs to invoke.

If you need custom domain names, use API Gateway instead.

profile pictureAWS
エキスパート
Uri
回答済み 2年前
profile picture
エキスパート
レビュー済み 1ヶ月前
  • You can also consider putting your custom domain name on CloudFront or a public ALB.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ