Richard Simpson
12/21/2021, 6:49 PM<http://api-x.company.com|api-x.company.com> -> /
<http://api-y.company.com|api-y.company.com> -> /
?Thomas Ankcorn
12/21/2021, 6:52 PMRichard Simpson
12/21/2021, 7:11 PMCertificate
+ a DomainName
with *.<http://company.com|company.com>
as the domainName
would be valid? Then it's just all down to DNS/lambda logic?Richard Simpson
12/21/2021, 7:26 PMThomas Ankcorn
12/21/2021, 8:02 PMFrank
Frank
Richard Simpson
12/21/2021, 10:30 PMFrank
new Api(this, "Api", {
customDomain: "<http://api-x.domain.com|api-x.domain.com>",
alternativeDomains: [
"<http://api-y.domain.com|api-y.domain.com>",
"<http://api-z.domain.com|api-z.domain.com>",
],
routes: {
"GET /notes": "src/list.main",
},
});
And this will create multiple domain ur Api Gateway console. Will this work for you?