Skip to content

Instantly share code, notes, and snippets.

@sbassi
Created February 2, 2021 11:28
Show Gist options
  • Save sbassi/24adcb6783f47b02a6c806a49fcfe11a to your computer and use it in GitHub Desktop.
Save sbassi/24adcb6783f47b02a6c806a49fcfe11a to your computer and use it in GitHub Desktop.
{
"Comment": "XXX",
"StartAt": "qc1",
"States": {
"qc1": {
"Type": "Task",
"Resource": "arn:aws:states:::batch:submitJob.sync",
"Parameters": {
"JobDefinition": "XXXX:1",
"JobName": "stp1",
"JobQueue": "XXX",
"ContainerOverrides": {
"Vcpus": 2
}
},
"Next":"getcsv"
},
"getcsv": {
"Type": "Pass",
"Result": "World",
"Next":"trim"
},
"trim": {
"Type": "Pass",
"Result": "World",
"Next":"fd"
},
"fd": {
"Type": "Pass",
"Result": "World",
"End": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment