AWS Step Functions to AWS Step Functions

Step Functions → Step Functions

Creates a Step Functions workflow to launch another state machine execution

The Step Functions Express Workflow can be started using the AWS CLI or from another service (e.g. API Gateway) to run an express workflow.
The SAM template deploys two Step Functions Express workflows: "Parent" and "Child". The SAM template contains the minimum IAM resources required to run the application with logging enabled.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Launch Stack

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/sfn-sfn

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Execute the Step Functions workflow:
aws stepfunctions start-execution --state-machine-arn ENTER_YOUR_STATE_MACHINE_ARN
2. View CloudWatch Logs to see events that Step Functions published to EventBridge:
aws logs tail CLOUDWATCH_LOG_GROUP
3. You see an event that was delivered to the event bus.

Created by:

Shehryar Abbasi

Shehryar Abbasi

Senior DevOps Cloud Architect at AWS.

Follow on LinkedIn