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
posta 5 anni fa841 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 5 anni fa
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
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande