@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.570Z") @Stability(value=Stable) public interface StepFunctionsInvokeActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
StepFunction Invoke Action.
Example:
// Example automatically generated from non-compiling source. May contain errors.
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepFunctionsInvokeActionProps.Builder
A builder for
StepFunctionsInvokeActionProps |
static class |
StepFunctionsInvokeActionProps.Jsii$Proxy
An implementation for
StepFunctionsInvokeActionProps |
| Modifier and Type | Method and Description |
|---|---|
static StepFunctionsInvokeActionProps.Builder |
builder() |
default String |
getExecutionNamePrefix()
Prefix (optional).
|
default Artifact |
getOutput()
The optional output Artifact of the Action.
|
IStateMachine |
getStateMachine()
The state machine to invoke.
|
default StateMachineInput |
getStateMachineInput()
Represents the input to the StateMachine.
|
getRolegetActionName, getRunOrder, getVariablesNamespace@Stability(value=Stable) @NotNull IStateMachine getStateMachine()
@Stability(value=Stable) @Nullable default String getExecutionNamePrefix()
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
@Stability(value=Stable) @Nullable default Artifact getOutput()
Default: the Action will not have any outputs
@Stability(value=Stable) @Nullable default StateMachineInput getStateMachineInput()
This includes input artifact, input type and the statemachine input.
Default: - none
@Stability(value=Stable) static StepFunctionsInvokeActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsStepFunctionsInvokeActionProps.Builder of StepFunctionsInvokeActionPropsCopyright © 2022. All rights reserved.