Step function as Scheduler

0

Hi',

Can we use AWS Step Functions as a scheduler service ?
Like AWS SF starts at a particular time in a day and invokes some HTTPS/HTTP URL with some data, is this possible ?

Thanks
Yatan

Yatan
已提问 5 年前841 查看次数
2 回答
0
已接受的回答

Yes, you can schedule Step Functions executions using CloudWatch Events for serverless cron. Learn more at https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html.

AWS
已回答 5 年前
0

Sure you can.
You can have a wait state referring to a Timestamp variable in the execution input
"wait_until" : {
"Type": "Wait",
"TimestampPath": "$.expirydate",
"Next": "NextState"
}
Or a hard coded timestamp
"wait_until" : {
"Type": "Wait",
"Timestamp": "2016-03-14T01:59:00Z",
"Next": "NextState"
}

gaxian
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则