class StartExecution
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.StartExecution |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.StartExecution |
![]() | aws_cdk.aws_stepfunctions_tasks.StartExecution |
![]() | @aws-cdk/aws-stepfunctions-tasks » StartExecution |
⚠️ Deprecated: - use 'StepFunctionsStartExecution'
Implements
IStep
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const input: any;
declare const stateMachine: stepfunctions.StateMachine;
const startExecution = new stepfunctions_tasks.StartExecution(stateMachine, /* all optional props */ {
input: {
inputKey: input,
},
integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
name: 'name',
});
Initializer
new StartExecution(stateMachine: IStateMachine, props?: StartExecutionProps)
⚠️ Deprecated: - use 'StepFunctionsStartExecution'
Parameters
- stateMachine
IState
Machine - props
Start
Execution Props
Methods
Name | Description |
---|---|
bind(task) | Called when the task object is used in a workflow. |
bind(task)
public bind(task: Task): StepFunctionsTaskConfig
⚠️ Deprecated: - use 'StepFunctionsStartExecution'
Parameters
- task
Task
Returns
Called when the task object is used in a workflow.