StartExecution

class aws_cdk.aws_stepfunctions_tasks.StartExecution(state_machine, *, input=None, integration_pattern=None, name=None)

Bases: object

A Step Functions Task to call StartExecution on another state machine.

It supports three service integration patterns: FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN.

stability :stability: experimental

__init__(state_machine, *, input=None, integration_pattern=None, name=None)
Parameters
  • state_machine (IStateMachine) –

  • props

  • input (Optional[Mapping[str, Any]]) – The JSON input for the execution, same as that of StartExecution.

  • integration_pattern (Optional[ServiceIntegrationPattern]) – The service integration pattern indicates different ways to call StartExecution to Step Functions. Default: FIRE_AND_FORGET

  • name (Optional[str]) – The name of the execution, same as that of StartExecution.

stability :stability: experimental

Return type

None

Methods

bind(task)

Called when the task object is used in a workflow.

Parameters

task (Task) –

stability :stability: experimental

Return type

StepFunctionsTaskConfig