Search code examples
amazon-web-servicesaws-api-gatewayamazon-ecsaws-fargate

AWS API and Mapping URLs


I am looking to setup an API Gateway in front off some services that I have running on Fargate.

All is setup in terms of the VPC Link, the cluster and the services deployed with a private load balancer sitting in front of the services.

I need to now figure out how to map the context path to be something different before it hits the fargate services.

My client wants a context path of /EmailServices but the app on Fargate is running with a context path of /app.

I do not have access to update the app context path and was hoping I could do some magic in API Gateway.

Has anyone done anything like this using Parameter Mapping in API Gateway or is any other approach recommended??


Solution

  • @stdunbar provided a link to the correct answer The details at the link worked for me