Posted On: May 28, 2020

AWS SAM now supports AWS Step Functions, making it easier to integrate workflow orchestration into your serverless applications. 

AWS Step Functions allows you to build resilient serverless workflows using AWS services such as AWS Lambda, Amazon SNS, and Amazon DynamoDB. The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. Together you can accelerate your serverless application development by combining orchestration and application code into a single deployment configuration.  

You can get started in minutes using a SAM template that showcases common Step Functions development patterns. State machines can be defined inline in a SAM template or in a separate file which can be stored locally or packaged and stored in S3. You can easily trigger state machine executions with API Gateway, EventBridge events, or on a schedule within your SAM template. Creation of the state machine execution role is made easy through SAM policy templates, inline policies, or managed policies which can be directly define within your state machine resource. 

To get started, you can install the SAM CLI and then run the ‘sam init’ command to get started with a state machine template. 

This feature is available in all regions where AWS Step Functions is available, including AWS China (Beijing) Region, operated by Sinnet and AWS Cihna (Ningxia) Region, operated by NWCD. View the AWS China Regions table to learn more. To learn more about Step Functions in SAM read the documentation