Class StepFunctionInvokeAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StepFunctionInvokeAction>
- Enclosing class:
- StepFunctionInvokeAction
StepFunctionInvokeAction
.-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) The physical, human-readable name of the Action.build()
create()
executionNamePrefix
(String executionNamePrefix) Prefix (optional).The optional output Artifact of the Action.The Role in which context's this Action will be executing in.The runOrder property for this Action.stateMachine
(IStateMachine stateMachine) The state machine to invoke.stateMachineInput
(StateMachineInput stateMachineInput) Represents the input to the StateMachine.variablesNamespace
(String variablesNamespace) The name of the namespace to use for variables emitted by this action.
-
Method Details
-
create
- Returns:
- a new instance of
StepFunctionInvokeAction.Builder
.
-
actionName
The physical, human-readable name of the Action.Note that Action names must be unique within a single Stage.
- Parameters:
actionName
- The physical, human-readable name of the Action. This parameter is required.- Returns:
this
-
runOrder
The runOrder property for this Action.RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
- Parameters:
runOrder
- The runOrder property for this Action. This parameter is required.- Returns:
this
- See Also:
-
variablesNamespace
@Stability(Stable) public StepFunctionInvokeAction.Builder variablesNamespace(String variablesNamespace) The name of the namespace to use for variables emitted by this action.Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
- Parameters:
variablesNamespace
- The name of the namespace to use for variables emitted by this action. This parameter is required.- Returns:
this
-
role
The Role in which context's this Action will be executing in.The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your
IAction.bind
method in theActionBindOptions.role
property.Default: a new Role will be generated
- Parameters:
role
- The Role in which context's this Action will be executing in. This parameter is required.- Returns:
this
-
stateMachine
The state machine to invoke.- Parameters:
stateMachine
- The state machine to invoke. This parameter is required.- Returns:
this
-
executionNamePrefix
@Stability(Stable) public StepFunctionInvokeAction.Builder executionNamePrefix(String executionNamePrefix) 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
- Parameters:
executionNamePrefix
- Prefix (optional). This parameter is required.- Returns:
this
-
output
The optional output Artifact of the Action.Default: the Action will not have any outputs
- Parameters:
output
- The optional output Artifact of the Action. This parameter is required.- Returns:
this
-
stateMachineInput
@Stability(Stable) public StepFunctionInvokeAction.Builder stateMachineInput(StateMachineInput stateMachineInput) Represents the input to the StateMachine.This includes input artifact, input type and the statemachine input.
Default: - none
- Parameters:
stateMachineInput
- Represents the input to the StateMachine. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StepFunctionInvokeAction>
- Returns:
- a newly built instance of
StepFunctionInvokeAction
.
-