This template creates a REST API, method, and request validator, and associates the request validator with the method.

CloudFormation Template