Interface StepFunctionsInvokeActionProps
- All Superinterfaces:
CommonActionProps,CommonAwsActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StepFunctionsInvokeActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:37.087Z")
@Stability(Stable)
public interface StepFunctionsInvokeActionProps
extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
Construction properties of the
StepFunctionsInvokeAction StepFunction Invoke Action.
Example:
import software.amazon.awscdk.services.stepfunctions.*;
Pipeline pipeline = new Pipeline(this, "MyPipeline");
Pass startState = new Pass(this, "StartState");
StateMachine simpleStateMachine = StateMachine.Builder.create(this, "SimpleStateMachine")
.definition(startState)
.build();
StepFunctionInvokeAction stepFunctionAction = StepFunctionInvokeAction.Builder.create()
.actionName("Invoke")
.stateMachine(simpleStateMachine)
.stateMachineInput(StateMachineInput.literal(Map.of("IsHelloWorldExample", true)))
.build();
pipeline.addStage(StageOptions.builder()
.stageName("StepFunctions")
.actions(List.of(stepFunctionAction))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStepFunctionsInvokeActionPropsstatic final classAn implementation forStepFunctionsInvokeActionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringPrefix (optional).default ArtifactThe optional output Artifact of the Action.The state machine to invoke.default StateMachineInputRepresents the input to the StateMachine.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespaceMethods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStateMachine
The state machine to invoke. -
getExecutionNamePrefix
Prefix (optional).By default, the action execution ID is used as the state machine execution name. If a prefix is provided, it is prepended to the action execution ID with a hyphen and together used as the state machine execution name.
Default: - action execution ID
-
getOutput
The optional output Artifact of the Action.Default: the Action will not have any outputs
-
getStateMachineInput
Represents the input to the StateMachine.This includes input artifact, input type and the statemachine input.
Default: - none
-
builder
-