I have a requirement where a client submits a job which I would like to execute after 1 hour. For this I am planning to follow the below design:
AWS Step function (Standard workflow)
with 2 state transitions. First is a Wait
state which will simply wait for 1 hour and then the second state invokes a lambda function which emits an event to an AWS event bridge
.In this design, my question is whether I will be charged for the 1 hour wait time I have in the Wait
state. Is my understanding that this is not charged and only 2 state transitions per workflow execution is charged?
Correct. Standard Workflows are priced only on the number of "State transitions".
Pricing is different for Standard and Express workflows. Use the AWS Pricing Calculator to compare costs for your use case:
Standard Workflows
Express Workflows