You can actually use a combination of API Gateway and Lambda to implement a GraphQL API. Within API Gateway, create a proxy endpoint with one route: /graphql. The following diagram shows that it looks much the same as the API Gateway and Lambda combination that we're already used to:
This endpoint will send requests with the POST verb to the backend lambda for processing. Queries and mutations will be parsed and converted into the data source's native query language—whether that be SQL or an AWS SDK request.
In Node.js, there's a package called graphql ...