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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南