title: How to restrict lambda URL invocation to users redirected from custom domain name?
body: <p>I have set up a CNAME record to redirect users that visit my custom domain name to my lambda function's lambda function URL. However, the CNAME record exposes the lambda function's lambda function URL to the public. How do I allow users redirected from the custom domain name to access the lambda function while blocking everybody else?</p>