Step Functions Resource
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 within a SAM template.
Using AWS SAM, your state machine definitions can be stored locally or packaged and stored in S3, and your state machine execution roles can easily be created through SAM policy templates, inline policies, or managed policies which can be directly defined within your state machine resource. To get started with Step Functions using AWS SAM, install the SAM CLI and then run the ‘sam init’ command.