@wmfs/statebox
Version:
Orchestrate Node functions using Amazon States Language
25 lines (24 loc) • 519 B
JSON
{
"Comment": "Example of the Map State",
"StartAt": "Validate-All",
"States": {
"Validate-All": {
"Type": "Map",
"InputPath": "$.detail",
"ItemsPath": "$.shipped",
"MaxConcurrency": 0,
"Iterator": {
"StartAt": "Validate",
"States": {
"Validate": {
"Type": "Task",
"Resource": "module:incrementQuantity",
"End": true
}
}
},
"ResultPath": "$.detail.shipped",
"End": true
}
}
}