in cdk, decouple custom domain name from route53
I manage Route53 in a different CDK app, to enable me to switch DNS from one cdk app to another seamlessly, for example during re-development of a given app. Currently to enable this behaviour I must create a dummy route53 zone and pass that into the serverless nextjs cdk construct, so that I can manage that route53 record in my other cdk app, but this means I have a dummy route53 zone for every serverless nextjs app i have.
Could the route53 record setup be optional? maybe with a flag like configureRoute53 that defaults to true to keep current behavior?
I need this as well, i have to manage my DNS outside of route53 due to enterprise requirements but will like to set the domain on cloudfront using this tool.