{ "Comment": "An example of the Amazon States Language using a map state to map over items in parallel.", "StartAt": "Map", "States": { "Map": { "Type": "Map", "Next": "Final State", "InputPath": "$.input", "ItemsPath": "$.items", "MaxConcurrency": 0, "Parameters": { "courier.$": "$.delivery-partner" }, "Iterator": { "StartAt": "Wait 20s", "States": { "Wait 20s": { "Type": "Wait", "Seconds": 20, "End": true } } }, "ResultPathAsDynamicValue": "$.result" }, "Final State": { "Type": "Pass", "End": true } } }