FailProps

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

Bases: object

__init__(*, cause=None, comment=None, error=None)

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

stability :stability: experimental

Attributes

cause

A description for the cause of the failure.

default :default: No description

stability :stability: experimental

Return type

Optional[str]

comment

An optional description for this state.

default :default: No comment

stability :stability: experimental

Return type

Optional[str]

error

Error code used to represent this failure.

default :default: No error code

stability :stability: experimental

Return type

Optional[str]