@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-02-19T00:19:34.333Z") @Stability(value=Stable) public enum StateMachineType extends 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();
https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html| 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(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.
|
@Stability(value=Stable) public static final StateMachineType EXPRESS
@Stability(value=Stable) public static final StateMachineType STANDARD
public static StateMachineType[] values()
for (StateMachineType c : StateMachineType.values()) System.out.println(c);
public static StateMachineType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.