FailProps

class aws_cdk.aws_stepfunctions.FailProps(*, cause=None, comment=None, error=None)

Bases: object

Properties for defining a Fail state.

Parameters
  • cause (Optional[str]) – A description for the cause of the failure. Default: No description

  • comment (Optional[str]) – An optional description for this state. Default: No comment

  • error (Optional[str]) – Error code used to represent this failure. Default: No error code

Attributes

cause

A description for the cause of the failure.

Default

No description

Return type

Optional[str]

comment

An optional description for this state.

Default

No comment

Return type

Optional[str]

error

Error code used to represent this failure.

Default

No error code

Return type

Optional[str]