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
feita há 5 anos841 visualizações
2 Respostas
0
Resposta aceita

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
respondido há 5 anos
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
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas