Route API Gateway API to a Custom Domain Name Using Route53

Typically you can invoke your API using a URL of the following format after deploying:

https://api-id.execute-api.region.amazonaws.com/stage

Even though the region and stage are relatively stable and easy to remember, the api-id is kinda like a random number for each API created and is really not user friendly when it comes to memorizing. It would be great if we can invoke the API using a custom domain name, for example:

https://www.example.com/myapi