StartExecution
- class aws_cdk.aws_stepfunctions_tasks.StartExecution(state_machine, *, input=None, integration_pattern=None, name=None)
Bases:
object
(deprecated) 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.
- Deprecated:
use ‘StepFunctionsStartExecution’
- Stability:
deprecated
- 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 import aws_cdk.aws_stepfunctions_tasks as stepfunctions_tasks # input: Any # state_machine: stepfunctions.StateMachine start_execution = stepfunctions_tasks.StartExecution(state_machine, input={ "input_key": input }, integration_pattern=stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET, name="name" )
- Parameters:
state_machine (
IStateMachine
) –input (
Optional
[Mapping
[str
,Any
]]) – (deprecated) The JSON input for the execution, same as that of StartExecution. Default: - No inputintegration_pattern (
Optional
[ServiceIntegrationPattern
]) – (deprecated) The service integration pattern indicates different ways to call StartExecution to Step Functions. Default: FIRE_AND_FORGETname (
Optional
[str
]) – (deprecated) The name of the execution, same as that of StartExecution. Default: - None
- Stability:
deprecated
Methods