
This sample project demonstrates how to use Step Functions to pre-process data with AWS Lambda functions and then orchestrate AWS Batch jobs. Deploying this sample project will create an AWS Step Functions state machine, a Lambda function, and an AWS Batch job.

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/batch-lambda-cdk/cd step-functions-workflows-collection/batch-lambda-cdk
1. Bootstrap CDK, if needed: <code>cdk bootstrap aws://{your-aws-account-number}/{your-aws-region}</code>2. Deploy the stack: <code>cdk deploy</code>
cdk destroy.