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
preguntada hace 5 años841 visualizaciones
2 Respuestas
0
Respuesta aceptada

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 hace 5 años
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 hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas