Search code examples
amazon-web-servicesaws-api-gatewayaws-http-api

Validating API Gateway's HTTP API incoming payloads


Is it possible for AWS API Gateway to validate an HTTP API's incoming payloads before it executes the Lambda function, saving the expense of calling a Lambda function when the input is invalid?

I'm aware that the older REST API's can have their input validated by API Gateway, but I'm using HTTP APIs because they are lighter and 71% less expensive and fit my needs very well.

Any suggestions/workarounds very welcome.


Solution

  • No its not possible. Only REST api support validation:

    enter image description here