Apr 9, 2022
I recreated all the actions that were performed in the workflow as a Lambda. Since the state machine only uses direct sdk integrations and doesn't use any lambdas, it just involved making a bunch of sdk calls in the Lambda.
Feel free to look at the GitHub repo I have linked in this article so you can look at the source code.