enum StateMachineType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.StateMachineType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#StateMachineType |
Java | software.amazon.awscdk.services.stepfunctions.StateMachineType |
Python | aws_cdk.aws_stepfunctions.StateMachineType |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions » StateMachineType |
Two types of state machines are available in AWS Step Functions: EXPRESS AND STANDARD.
See also: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-standard-vs-express.html
Example
const distributedMap = new sfn.DistributedMap(this, 'DistributedMap', {
mapExecutionType: sfn.StateMachineType.EXPRESS, // mapExecutionType property is applied.
});
distributedMap.itemProcessor(new sfn.Pass(this, 'Pass'), {
mode: sfn.ProcessorMode.DISTRIBUTED,
executionType: sfn.ProcessorType.STANDARD, // ProcessorConfig.executionType is ignored
});
Members
Name | Description |
---|---|
EXPRESS | Express Workflows are ideal for high-volume, event processing workloads. |
STANDARD | Standard Workflows are ideal for long-running, durable, and auditable workflows. |
EXPRESS
Express Workflows are ideal for high-volume, event processing workloads.
STANDARD
Standard Workflows are ideal for long-running, durable, and auditable workflows.