@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:55.826Z") public enum StateMachineType extends java.lang.Enum<StateMachineType>
Default: STANDARD
Example:
Pass stateMachineDefinition = new Pass(this, "PassState"); IStateMachine stateMachine = StateMachine.Builder.create(this, "StateMachine") .definition(stateMachineDefinition) .stateMachineType(StateMachineType.EXPRESS) .build(); StepFunctionsRestApi.Builder.create(this, "StepFunctionsRestApi") .deploy(true) .stateMachine(stateMachine) .build();
Enum Constant and Description |
---|
EXPRESS
Express Workflows are ideal for high-volume, event processing workloads.
|
STANDARD
Standard Workflows are ideal for long-running, durable, and auditable workflows.
|
Modifier and Type | Method and Description |
---|---|
static StateMachineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateMachineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateMachineType EXPRESS
public static final StateMachineType STANDARD
public static StateMachineType[] values()
for (StateMachineType c : StateMachineType.values()) System.out.println(c);
public static StateMachineType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null