Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by euph0ria on Wednesday April 06, 2022 @05:51PM
(#30937899)
Is it possible to front this with your own domain using a CNAME or are the function URLs dynamically genrerated on each commit/upload/build?
[ Parent
| on HN ]
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by aeyes on Wednesday April 06, 2022 @05:52PM
(#30937912)
You can't use your own domain/certificate. If you CNAME it the cert will be invalid.
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by JoshTriplett on Wednesday April 06, 2022 @06:06PM
(#30938052)
It sounds like you can get a stable URL for a function, but it'll still be a Lambda URL.
I'd love to use this with a custom domain, without having to use an API Gateway.
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by paxys on Wednesday April 06, 2022 @09:28PM
(#30939614)
Yes, but you'll have to either set up a proxy or do a client-side redirect.
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by oxplot on Wednesday April 06, 2022 @07:25PM
(#30938721)
You can always proxy it (e.g. Cloudflare).
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by ShakataGaNai on Wednesday April 06, 2022 @07:47PM
(#30938882)
For a lot of use cases if you proxy it through something external like Cloudflare, you might as well just write the code in Cloudflare Functions. Even faster as no proxying will be required.