Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Serverless – Use pre-generated api gateway url?

Am I able to define a pre-generated api gateway url for my serverless application?

Currently there are two applications already made that has their own that was generated with cloud formation. The new application is using the serverless framework.

The client asked that I reuse the one that was generated for the other two applications on mine to extend the amount of endpoints over having its own url.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

It’s not a custom url that uses a cname just a straight generated api gateway one they would like me to piggy back off of.

>Solution :

Sadly you can’t do that with AWS-provided URLs. The only way to join several APIs under a single URL domain is to use custom domains. Then you can hook up multiple APIs to one domain, e.g. api.mydomain.org, api2.mydomain.org.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading