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 réponse
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
EXPERT
Uri
répondu il y a un an
profile pictureAWS
EXPERT
Chris_G
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions