@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.747Z") @Stability(value=Stable) public class StepFunctionsStartExecution extends TaskStateBase
It supports three service integration patterns: REQUEST_RESPONSE, RUN_JOB, and WAIT_FOR_TASK_TOKEN.
Example:
// Define a state machine with one Pass state
StateMachine child = StateMachine.Builder.create(this, "ChildStateMachine")
.definition(Chain.start(new Pass(this, "PassState")))
.build();
// Include the state machine in a Task state with callback pattern
StepFunctionsStartExecution task = StepFunctionsStartExecution.Builder.create(this, "ChildTask")
.stateMachine(child)
.integrationPattern(IntegrationPattern.WAIT_FOR_TASK_TOKEN)
.input(TaskInput.fromObject(Map.of(
"token", JsonPath.getTaskToken(),
"foo", "bar")))
.name("MyExecutionName")
.build();
// Define a second state machine with the Task state above
// Define a second state machine with the Task state above
StateMachine.Builder.create(this, "ParentStateMachine")
.definition(task)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
StepFunctionsStartExecution.Builder
A fluent builder for
StepFunctionsStartExecution. |
software.amazon.jsii.JsiiObject.InitializationModeINextable.Jsii$DefaultIChainable.Jsii$DefaultIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
StepFunctionsStartExecution(software.constructs.Construct scope,
String id,
StepFunctionsStartExecutionProps props) |
protected |
StepFunctionsStartExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
StepFunctionsStartExecution(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskMetricsConfig |
getTaskMetrics() |
protected List<PolicyStatement> |
getTaskPolicies() |
addCatch, addCatch, addRetry, addRetry, getEndStates, metric, metric, metricFailed, metricFailed, metricHeartbeatTimedOut, metricHeartbeatTimedOut, metricRunTime, metricRunTime, metricScheduled, metricScheduled, metricScheduleTime, metricScheduleTime, metricStarted, metricStarted, metricSucceeded, metricSucceeded, metricTime, metricTime, metricTimedOut, metricTimedOut, next, toStateJson, whenBoundToGraphaddBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getResultSelector, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderResultSelector, renderRetryCatch, setDefaultChoice, setIterationgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected StepFunctionsStartExecution(software.amazon.jsii.JsiiObjectRef objRef)
protected StepFunctionsStartExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public StepFunctionsStartExecution(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
StepFunctionsStartExecutionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @Nullable protected TaskMetricsConfig getTaskMetrics()
getTaskMetrics in class TaskStateBase@Stability(value=Stable) @Nullable protected List<PolicyStatement> getTaskPolicies()
getTaskPolicies in class TaskStateBaseCopyright © 2023. All rights reserved.