Call Your AWS Step Functions With API Gateway in Just a Few Lines With SAM
![Call Your AWS Step Functions With API Gateway in Just a Few Lines With SAM](https://johanrin.com/posts/aws-step-functions-with-api-gateway-and-sam/post-cover.png)
Last weekend I played with AWS Step Functions! I wanted to refactor a Lambda function I already coded for the sake of maintainability and evolutivity.
Spent my day with AWS SAM refactoring a long Lambda in Step Functions
Result:
• I reduced my code by 2
• The code is now way more maintainable
• I have a cool graph presenting the execution flow
Btw, I call my state machine with API Gateway and I only needed 8 lines in YAML!