AfterwardsOptions

class aws_cdk.aws_stepfunctions.AfterwardsOptions(*, include_error_handlers=None, include_otherwise=None)

Bases: object

__init__(*, include_error_handlers=None, include_otherwise=None)

Options for selecting the choice paths.

Parameters
  • include_error_handlers (Optional[bool]) – Whether to include error handling states. If this is true, all states which are error handlers (added through ‘onError’) and states reachable via error handlers will be included as well. Default: false

  • include_otherwise (Optional[bool]) – Whether to include the default/otherwise transition for the current Choice state. If this is true and the current Choice does not have a default outgoing transition, one will be added included when .next() is called on the chain. Default: false

stability :stability: experimental

Attributes

include_error_handlers

Whether to include error handling states.

If this is true, all states which are error handlers (added through ‘onError’) and states reachable via error handlers will be included as well.

default :default: false

stability :stability: experimental

Return type

Optional[bool]

include_otherwise

Whether to include the default/otherwise transition for the current Choice state.

If this is true and the current Choice does not have a default outgoing transition, one will be added included when .next() is called on the chain.

default :default: false

stability :stability: experimental

Return type

Optional[bool]