Describe the issue
It seems that the timeout argument to new cdk.aws_stepfunctions.StateMachine is only applied when the definitionBody is a ChainDefinitionBody. The only reference I can find is here:
|
graph.timeout = props.timeout; |
This behavior is unclear from the documentation:
|
* Maximum run time for this state machine |
For users that provide a .asl.json definitionBody, this can cause unexpected behavior.
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachine.html#timeout
Describe the issue
It seems that the timeout argument to
new cdk.aws_stepfunctions.StateMachineis only applied when the definitionBody is aChainDefinitionBody. The only reference I can find is here:aws-cdk/packages/aws-cdk-lib/aws-stepfunctions/lib/state-machine.ts
Line 486 in ebfaf89
This behavior is unclear from the documentation:
aws-cdk/packages/aws-cdk-lib/aws-stepfunctions/lib/state-machine.ts
Line 127 in ebfaf89
For users that provide a
.asl.jsondefinitionBody, this can cause unexpected behavior.Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachine.html#timeout