{
"Comment": "A Task Timer example of the Amazon States Language scheduling a task",
"StartAt": "Wait for Timestamp",
"States": {
"Wait for Timestamp": {
"Type": "Wait",
"TimestampPath": "$.trigger_date",
"Next": "Send SNS Message"
},
"Send SNS Message": {
"Type": "Task",
"Resource": "arn:aws:lambda:region-1:1234567890:function:SendToSNS",
"Retry": [
{
"ErrorEquals": ["States.ALL"],
"IntervalSeconds": 1,
"MaxAttempts": 3,
"BackoffRate": 2.0
}
],
"End": true
}
}
}