Integration Types
There are 4 types of integration type, can be used to integrate other services with API Gateway.
HTTP
orHTTP Custom Integration
A custom http endpoint, need to set up mappingHTTP_PROXY
Use for http endpoint, no needs for any mappingAWS
(For Serverless/Lambda)AWS_PROXY
(For Serverless/Lambda)MOCK
simulates the api request and response
With
proxy
integration, 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 templates
to transform request. For example, JSON to XML and vice versa. Suitable for legacy application with modern endpoint.