'Issue AppSync mutation from Step Function?

Is it possible to issue an AppSync mutation directly from a Step Function? Looking to avoid creating a Lambda function for this one task. I feel like I'm missing something simple.



Solution 1:[1]

You will need a Lambda Task, unless the GraphQL service is exposed via a API Gateway endpoint.

"Issue an AppSync mutation" means "make a HTTP POST request", of course. Alas, there is no native Step Functions support to make arbitrary POST requests. Step Functions does have an optimised integration with ApiGateway to make authorised POST requests with custom headers only to API Gateway endpoints.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 fedonev