StateMachineProps

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

Bases: object

Properties for defining a State Machine.

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

  • logs (Optional[LogOptions]) – Defines what execution history events are logged and where they are logged. Default: No logging

  • 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

  • state_machine_type (Optional[StateMachineType]) – Type of the state machine. Default: StateMachineType.STANDARD

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

  • tracing_enabled (Optional[bool]) – Specifies whether Amazon X-Ray tracing is enabled for this state machine. Default: false

Attributes

definition

Definition for this state machine.

Return type

IChainable

logs

Defines what execution history events are logged and where they are logged.

Default

No logging

Return type

Optional[LogOptions]

role

The execution role for the state machine service.

Default

A role is automatically created

Return type

Optional[IRole]

state_machine_name

A name for the state machine.

Default

A name is automatically generated

Return type

Optional[str]

state_machine_type

Type of the state machine.

Default

StateMachineType.STANDARD

Return type

Optional[StateMachineType]

timeout

Maximum run time for this state machine.

Default

No timeout

Return type

Optional[Duration]

tracing_enabled

Specifies whether Amazon X-Ray tracing is enabled for this state machine.

Default

false

Return type

Optional[bool]