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

20 lines
511 B
JSON

{
"Comment": "SERVICE_SQS_SEND_AND_WAIT_FOR_TASK_TOKEN_WITH_HEARTBEAT",
"StartAt": "SendMessageWithWait",
"States": {
"SendMessageWithWait": {
"Type": "Task",
"Resource": "arn:aws:states:::sqs:sendMessage.waitForTaskToken",
"TimeoutSeconds": 60,
"HeartbeatSeconds": 5,
"Parameters": {
"QueueUrl.$": "$.QueueUrl",
"MessageBody": {
"Message.$": "$.Message",
"TaskToken.$": "$$.Task.Token"
}
},
"End": true
}
}
}