2 Answers
- Newest
- Most votes
- Most comments
0
Hi,
Depends where are you deploying the app. If using lambda (https://docs.spring.io/spring-cloud-function/docs/current/reference/html/aws-intro.html) you can just have a direct proxy integration between api gw and the lambda itself.
If using a container, you may need an application load balancer between the api gw and you container (deployed in ECS or EKS).
Hope it helps ;)
0
In the blog only get method is shown and swagger specs but i would like to know how to do it without swagger.
I was able to workaround with @Request Params instead of @Path Variable but please do let me know if an appropriate solution is availbale.
Thank you.
answered 2 years ago
Relevant content
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
Thank you so much for the reply.
I am deploying my spring boot application jar in EC2. I am using request parameters in the GET request but while integrating with api gateway im able to hit get without configuring any request params and without using lambda functions. But i am not able to hit PUT and delete with id as path variables.
I assume you are using HTTP integration? Did you have a read as this? https://awstip.com/spring-boot-application-deployment-with-amazon-api-gateway-ae7272919311