
Fan out across Amazon S3 items using Distributed Map, invoking a Lambda durable function per item with per-item idempotency.
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cdk-sfn-dmap-dfClone the repository: <code>git clone https://github.com/aws-samples/serverless-patterns</code>Change directory: <code>cd cdk-sfn-dmap-df</code>Install dependencies: <code>npm install</code>Run tests: <code>npm test</code>Deploy the CDK stack: <code>cdk deploy</code>npm test — validates CDK stack assertions and runs the durable function locally using LocalDurableTestRunner (no AWS deployment needed).aws stepfunctions start-execution --state-machine-arn <StateMachineArn from stack output> --name "catalog-update-$(date +%s)"cdk destroy