I would like to use a custom domain for an AWS API Gateway endpoint, this would allow me to use mydomain.com
instead of https://xxxxxxxx.execute-api.eu-west-1.amazonaws.com/v1
.
I managed to add the custom domain in API Gateway but now I need to set the DNS of the domain (this domain is NOT managed by Route53).
As far as I understand I should set an A record but I don't have any IP provided by the cloudfront distribution and it cannot be a CNAME because I want to bind a domain (apex) not a subdomain.
How could I set the domain, without transfering DNS management to Route 53 ?
Thank you