StepFunctionConfig Type
High-level AWS Step Functions (State Machine) builder following AWS best practices. **Default Settings:** - StateMachineType = STANDARD (for long-running workflows) - Logging = ALL events logged to CloudWatch (requires logDestination for Stack deployment) - TracingEnabled = true (X-Ray integration) - Timeout = 1 hour (configurable) **Rationale:** These defaults follow Yan Cui's production serverless best practices: - Standard type for reliable, exactly-once execution - Full logging for debugging and audit trails (requires logDestination when deploying) - X-Ray tracing for distributed system visibility - Reasonable timeout prevents runaway workflows **Use Cases:** - Order processing workflows - ETL data pipelines - Human approval workflows - Saga orchestration patterns - Microservice orchestration **Escape Hatch:** Access the underlying CDK StateMachine via the `StateMachine` property for advanced scenarios not covered by this builder.
Record fields
| Record Field | Description |
Full Usage:
Comment
Field type: string option
|
|
Full Usage:
ConstructId
Field type: string option
|
|
|
|
|
|
|
|
|
|
Full Usage:
StateMachineName
Field type: string
|
|
|
|
|
|
Full Usage:
TracingEnabled
Field type: bool voption
|
|
FsCDK