StateMachineProps

class aws_cdk.aws_stepfunctions.StateMachineProps(*, definition, role=None, state_machine_name=None, timeout=None)

Bases: object

__init__(*, definition, role=None, state_machine_name=None, timeout=None)

Properties for defining a State Machine.

Parameters
  • definition (IChainable) – Definition for this state machine.

  • role (Optional[IRole]) – The execution role for the state machine service. Default: A role is automatically created

  • state_machine_name (Optional[str]) – A name for the state machine. Default: A name is automatically generated

  • timeout (Optional[Duration]) – Maximum run time for this state machine. Default: No timeout

stability :stability: experimental

Attributes

definition

Definition for this state machine.

stability :stability: experimental

Return type

IChainable

role

The execution role for the state machine service.

default :default: A role is automatically created

stability :stability: experimental

Return type

Optional[IRole]

state_machine_name

A name for the state machine.

default :default: A name is automatically generated

stability :stability: experimental

Return type

Optional[str]

timeout

Maximum run time for this state machine.

default :default: No timeout

stability :stability: experimental

Return type

Optional[Duration]