Is it possible to keep the stage name in the path when fronting API Gateway with a custom domain name?

0

When fronting API GW with a custom domain name, the stage name is removed from the url path and the domain name points directly to the stage. Is there a way to maintain the stage name in the url path?

已提問 1 年前檢視次數 251 次
1 個回答
0

Of course. Custom domain name supports multi-level base path mapping. You can just create a custom domain mapping that includes the stage name. E.g.. You can map users/prod to API: Users, stage: prod.

profile pictureAWS
專家
Uri
已回答 1 年前
profile pictureAWS
專家
Chris_G
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南