Class StepFunctionsStartExecution
A Step Functions Task to call StartExecution on another state machine.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StepFunctionsStartExecution : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class StepFunctionsStartExecution
Inherits TaskStateBase
Implements IChainable, INextable
Remarks
It supports three service integration patterns: REQUEST_RESPONSE, RUN_JOB, and WAIT_FOR_TASK_TOKEN.
ExampleMetadata: infused
Examples
// Define a state machine with one Pass state
var child = new StateMachine(this, "ChildStateMachine", new StateMachineProps {
Definition = Chain.Start(new Pass(this, "PassState"))
});
// Include the state machine in a Task state with callback pattern
var task = new StepFunctionsStartExecution(this, "ChildTask", new StepFunctionsStartExecutionProps {
StateMachine = child,
IntegrationPattern = IntegrationPattern.WAIT_FOR_TASK_TOKEN,
Input = TaskInput.FromObject(new Dictionary<string, object> {
{ "token", JsonPath.TaskToken },
{ "foo", "bar" }
}),
Name = "MyExecutionName"
});
// Define a second state machine with the Task state above
// Define a second state machine with the Task state above
new StateMachine(this, "ParentStateMachine", new StateMachineProps {
Definition = task
});
Synopsis
Constructors
StepFunctionsStartExecution(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
StepFunctionsStartExecution(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
StepFunctionsStartExecution(Construct, String, IStepFunctionsStartExecutionProps) |
Properties
TaskMetrics | |
TaskPolicies |
Constructors
StepFunctionsStartExecution(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected StepFunctionsStartExecution(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
StepFunctionsStartExecution(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected StepFunctionsStartExecution(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
StepFunctionsStartExecution(Construct, String, IStepFunctionsStartExecutionProps)
public StepFunctionsStartExecution(Construct scope, string id, IStepFunctionsStartExecutionProps props)
Parameters
- scope Constructs.Construct
- id System.String
Descriptive identifier for this chainable.
- props IStepFunctionsStartExecutionProps
Properties
TaskMetrics
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value