Class StepFunctionsStateMachineAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.StepFunctionsStateMachineAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StepFunctionsStateMachineAction>
- Enclosing class:
StepFunctionsStateMachineAction
@Stability(Experimental)
public static final class StepFunctionsStateMachineAction.Builder
extends Object
implements software.amazon.jsii.Builder<StepFunctionsStateMachineAction>
(experimental) A fluent builder for
StepFunctionsStateMachineAction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
create
(IStateMachine stateMachine) executionNamePrefix
(String executionNamePrefix) (experimental) Name of the state machine execution prefix.(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
@Stability(Experimental) public static StepFunctionsStateMachineAction.Builder create(IStateMachine stateMachine) - Parameters:
stateMachine
- The Step Functions Start Machine which shoud be executed. This parameter is required.- Returns:
- a new instance of
StepFunctionsStateMachineAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
executionNamePrefix
@Stability(Experimental) public StepFunctionsStateMachineAction.Builder executionNamePrefix(String executionNamePrefix) (experimental) Name of the state machine execution prefix.The name given to the state machine execution consists of this prefix followed by a UUID. Step Functions creates a unique name for each state machine execution if one is not provided.
Default: : None - Step Functions creates a unique name for each state machine execution if one is not provided.
- Parameters:
executionNamePrefix
- Name of the state machine execution prefix. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StepFunctionsStateMachineAction>
- Returns:
- a newly built instance of
StepFunctionsStateMachineAction
.
-