@Stability(value=Experimental) public static final class StateMachine.Builder extends Object
StateMachine.| Modifier and Type | Method and Description |
|---|---|
StateMachine |
build() |
static StateMachine.Builder |
create(Construct scope,
String id)
EXPERIMENTAL
|
StateMachine.Builder |
definition(IChainable definition)
Definition for this state machine.
|
StateMachine.Builder |
logs(LogOptions logs)
Defines what execution history events are logged and where they are logged.
|
StateMachine.Builder |
role(IRole role)
The execution role for the state machine service.
|
StateMachine.Builder |
stateMachineName(String stateMachineName)
A name for the state machine.
|
StateMachine.Builder |
stateMachineType(StateMachineType stateMachineType)
Type of the state machine.
|
StateMachine.Builder |
timeout(Duration timeout)
Maximum run time for this state machine.
|
@Stability(value=Experimental) public static StateMachine.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.StateMachine.Builder.@Stability(value=Experimental) public StateMachine.Builder definition(IChainable definition)
EXPERIMENTAL
definition - Definition for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder logs(LogOptions logs)
Default: No logging
EXPERIMENTAL
logs - Defines what execution history events are logged and where they are logged. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder role(IRole role)
Default: A role is automatically created
EXPERIMENTAL
role - The execution role for the state machine service. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder stateMachineName(String stateMachineName)
Default: A name is automatically generated
EXPERIMENTAL
stateMachineName - A name for the state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder stateMachineType(StateMachineType stateMachineType)
Default: StateMachineType.STANDARD
EXPERIMENTAL
stateMachineType - Type of the state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine.Builder timeout(Duration timeout)
Default: No timeout
EXPERIMENTAL
timeout - Maximum run time for this state machine. This parameter is required.this@Stability(value=Experimental) public StateMachine build()
Copyright © 2020. All rights reserved.