StateMachineType¶
-
class
aws_cdk.aws_stepfunctions.
StateMachineType
(value)¶ Bases:
enum.Enum
Two types of state machines are available in AWS Step Functions: EXPRESS AND STANDARD.
- Default
STANDARD
- See
https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html
- ExampleMetadata
infused
Example:
state_machine_definition = stepfunctions.Pass(self, "PassState") state_machine = stepfunctions.StateMachine(self, "StateMachine", definition=state_machine_definition, state_machine_type=stepfunctions.StateMachineType.EXPRESS ) apigateway.StepFunctionsRestApi(self, "StepFunctionsRestApi", deploy=True, state_machine=state_machine )
Attributes
-
EXPRESS
¶ Express Workflows are ideal for high-volume, event processing workloads.
-
STANDARD
¶ Standard Workflows are ideal for long-running, durable, and auditable workflows.