Interface StepFunctionsStartExecutionJsonPathProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonPathBaseProps
- All Known Implementing Classes:
StepFunctionsStartExecutionJsonPathProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:49.997Z")
@Stability(Stable)
public interface StepFunctionsStartExecutionJsonPathProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for StartExecution using JSONPath.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Object assign;
Object resultSelector;
StateMachine stateMachine;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
StepFunctionsStartExecutionJsonPathProps stepFunctionsStartExecutionJsonPathProps = StepFunctionsStartExecutionJsonPathProps.builder()
.stateMachine(stateMachine)
// the properties below are optional
.assign(Map.of(
"assignKey", assign))
.associateWithParent(false)
.comment("comment")
.credentials(Credentials.builder()
.role(taskRole)
.build())
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.input(taskInput)
.inputPath("inputPath")
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.name("name")
.outputPath("outputPath")
.queryLanguage(QueryLanguage.JSON_PATH)
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.stateName("stateName")
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStepFunctionsStartExecutionJsonPathPropsstatic final classAn implementation forStepFunctionsStartExecutionJsonPathProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanPass the execution ID from the context object to the execution input.default TaskInputgetInput()The JSON input for the execution, same as that of StartExecution.default StringgetName()The name of the execution, same as that of StartExecution.The Step Functions state machine to start the execution on.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateJsonPathBaseProps
getResultPath, getResultSelector
-
Method Details
-
getStateMachine
The Step Functions state machine to start the execution on. -
getAssociateWithParent
Pass the execution ID from the context object to the execution input.This allows the Step Functions UI to link child executions from parent executions, making it easier to trace execution flow across state machines.
If you set this property to
true, theinputproperty must be an object (provided bysfn.TaskInput.fromObject) or omitted entirely.Default: - false
- See Also:
-
getInput
The JSON input for the execution, same as that of StartExecution.Default: - The state input (JSON path '$')
- See Also:
-
getName
The name of the execution, same as that of StartExecution.Default: - None
- See Also:
-
builder
-