Deploy a state machine using a starter template for Step Functions
To deploy state machines for a variety of example use cases and patterns, you can choose one of the following starter templates in the AWS Step Functions
console
You can use these sample projects to deploy and run them as is, or use the workflow prototypes to build on them. If you build upon these projects, Step Functions creates the workflow prototype, but doesn't deploy the resources listed in the workflow definition.
When you deploy the sample projects, they provision a fully functional state machine, and create the related resources for the state machine to run. When you create a sample project, Step Functions uses AWS CloudFormation to create the related resources referenced by the state machine.
List of starter templates
- Manage a container task with Amazon ECS and Amazon SNS
- Transfer data records with Lambda, DynamoDB, and Amazon SQS
- Poll for job status with Lambda and AWS Batch
- Create a task timer with Lambda and Amazon SNS
- Create a callback pattern example with Amazon SQS, Amazon SNS, and Lambda
- Manage an Amazon EMR job
- Run an EMR Serverless job
- Start a workflow within a workflow with Step Functions and Lambda
- Process data from a queue with a Map state in Step Functions
- Process a CSV file from Amazon S3 using a Distributed Map
- Process data in an Amazon S3 bucket with Distributed Map
- Train a machine learning model using Amazon SageMaker
- Tune the hyperparameters of a machine learning model in SageMaker
- Perform AI prompt-chaining with Amazon Bedrock
- Process high-volume messages from Amazon SQS with Step Functions Express workflows
- Perform selective checkpointing using Standard and Express workflows
- Build an AWS CodeBuild project using Step Functions
- Preprocess data and train a machine learning model with Amazon SageMaker
- Integrate AWS Lambda in a Step Functions state machine with Amazon SQS and Amazon SNS
- Start an Athena query and send a results notification
- Execute queries in sequence and parallel using Athena
- Query large datasets using an AWS Glue crawler
- Keep data in a target table updated with AWS Glue and Athena
- Create and manage an Amazon EKS cluster with a node group
- Interact with an API managed by API Gateway
- Call a microservice running on Fargate using API Gateway integration
- Send a custom event to an EventBridge event bus
- Invoke Synchronous Express Workflows through API Gateway
- Run an ETL/ELT workflow using Step Functions and the Amazon Redshift API
- Manage a batch job with AWS Batch and Amazon SNS
- Fan out batch jobs with Map state
- Run an AWS Batch job with Lambda