AfterwardsOptions

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

Bases: object

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

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_stepfunctions as stepfunctions

afterwards_options = stepfunctions.AfterwardsOptions(
    include_error_handlers=False,
    include_otherwise=False
)

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

false

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

false

Return type

Optional[bool]