i am creating an api gateway in my template :
later on i want to use the api address xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/
as a domain name of an oigin of my cloudfront
- DomainName: xxxxxxx.execute-api.us-east-1.amazonaws.com
is there a way to reference the api address dynamically?