Integration Types
There are 4 types of integration type, can be used to integrate other services with API Gateway.
HTTPorHTTP Custom IntegrationA custom http endpoint, need to set up mappingHTTP_PROXYUse for http endpoint, no needs for any mappingAWS(For Serverless/Lambda)AWS_PROXY(For Serverless/Lambda)MOCKsimulates the api request and response
With
proxyintegration, there is no need for any mapping and it is easier, it just redirect all the requests, parameters and payloads to the defined endpoint.API gateway can use
mapping templatesto transform request. For example, JSON to XML and vice versa. Suitable for legacy application with modern endpoint.