Sorry :(
Not yet supported. Planned for v1.5.0
Now we can successfully start an execution, what about checking it has succesfully executed?
The most straight forward check is to ensure that the stepfunction has successfully executed. You can do that using the following:
// Start the exectuion
.pause(someAmmountOfTime)
.exec(
sfn("Check item-batch-processor execution completion").checkSucceeded
)
Sorry :(
Not yet supported. Planned for v1.5.0
Sorry :(
Not yet supported. Planned for v1.4.0
Instead of checking that the whole StepFunction has executed, it might be useful only to check up to a certain state. To do this, you can supply:
stateName
: The name of the state you want to check in the state machinestateType
: The type of state you want to check in the state machine// Start the exectuion
.pause(someAmmountOfTime)
.exec(
sfn("Check item-batch-processor execution completion").checkStateSucceeded
.stateName("NameOfStateSucceeded")
.stateType(LAMBDA_FUNCTION_SUCCEEDED)
)
Sorry :(
Not yet supported. Planned for v1.5.0
Sorry :(
Not yet supported. Planned for v1.4.0
For more information on the different stateTypes
, see here.