StateMachineType Enum
Two types of state machines are available in AWS Step Functions: EXPRESS AND STANDARD.
Example
ts
import * as kms from 'aws-cdk-lib/aws-kms';
import * as cdk from 'aws-cdk-lib';
const kmsKey = new kms.Key(this, 'Key');
const stateMachine = new sfn.StateMachine(this, 'StateMachineWithCMKEncryptionConfiguration', {
stateMachineName: 'StateMachineWithCMKEncryptionConfiguration',
definitionBody: sfn.DefinitionBody.fromChainable(sfn.Chain.start(new sfn.Pass(this, 'Pass'))),
stateMachineType: sfn.StateMachineType.STANDARD,
encryptionConfiguration: new sfn.CustomerManagedEncryptionConfiguration(kmsKey, cdk.Duration.seconds(60)),
});
Members
| Member | Description |
|---|---|
EXPRESS | Express Workflows are ideal for high-volume, event processing workloads. |
STANDARD | Standard Workflows are ideal for long-running, durable, and auditable workflows. |
Referenced by
DistributedMapJsonataProps.mapExecutionTypemap_execution_typemapExecutionTypeMapExecutionTypeMapExecutionTypeDistributedMapJsonPathProps.mapExecutionTypemap_execution_typemapExecutionTypeMapExecutionTypeMapExecutionTypeDistributedMapProps.mapExecutionTypemap_execution_typemapExecutionTypeMapExecutionTypeMapExecutionTypeStateMachine.stateMachineTypestate_machine_typestateMachineTypeStateMachineTypeStateMachineTypeStateMachineProps.stateMachineTypestate_machine_typestateMachineTypeStateMachineTypeStateMachineType