Skip to content

cdk.aws_stepfunctions.StateMachine: timeout does not apply to .asl.json definition #37150

@marten-wirelab

Description

@marten-wirelab

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsbugThis issue is a bug.documentationThis is a problem with documentation.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions