moto/tests/test_stepfunctions/parser/templates/map_item_reader.json
2024-03-16 13:03:41 -01:00

36 lines
813 B
JSON

{
"Comment": "MAP_ITEM_READER_BASE_CSV_HEADERS_DECL",
"StartAt": "MapState",
"States": {
"MapState": {
"Type": "Map",
"MaxConcurrency": 1,
"ItemReader": {
"ReaderConfig": {
"InputType": "CSV",
"CSVHeaderLocation": "GIVEN",
"CSVHeaders": ["H1", "H2", "H3"]
},
"Resource": "arn:aws:states:::s3:getObject",
"Parameters": {
"Bucket.$": "$.Bucket",
"Key.$": "$.Key"
}
},
"ItemProcessor": {
"ProcessorConfig": {
"Mode": "DISTRIBUTED",
"ExecutionType": "STANDARD"
},
"StartAt": "PassItem",
"States": {
"PassItem": {
"Type": "Pass",
"End": true
}
}
},
"End": true
}
}
}