Posted On: May 27, 2020
AWS SAM now supports AWS Step Functions, enabling you to integrate workflow orchestration into your serverless applications quickly and easily. Through direct support in the AWS Serverless Application Model (AWS SAM), an open-source framework for building serverless applications, you can now deliver your serverless applications faster by defining your Step Functions state machine workflows alongside your application architecture and code.
AWS Step Functions allows you to build resilient serverless workflows and set up state machines using AWS services such as AWS Lambda, Amazon SNS, Amazon DynamoDB, and more—all supported by AWS SAM. Now with Step Functions support in AWS SAM, you can define state machines in a SAM template or in a separate file, create state machine execution roles through SAM policy templates, inline policies, or managed policies, and easily trigger state machine executions with API Gateway, EventBridge events, or on a schedule.
Your state machine definitions can be stored locally, packaged and stored in S3, or defined inline in your JSON or YAML SAM template. Your state machine execution role can be directly defined within your state machine resource. To get started, install the SAM CLI and then run the ‘sam init’ command to create your first application.
AWS SAM support for Step Functions is available in all regions where AWS Step Functions is available. View the AWS Regions table to learn more. To learn more about Step Functions in SAM, read the AWS SAM Developer Guide and view our blog post.