aws-cdk.aws-stepfunctions
The CDK Construct Library for AWS::StepFunctions
What it is and what it does
This package provides Python classes and constructs for building AWS Step Functions state machines within the AWS CDK v1 framework. It models the Amazon States Language, allowing you to define workflows programmatically by chaining states such as Task, Pass, Wait, Choice, Parallel, Succeed, Fail, and Map. State data flows through the workflow as JSON, transformed by each state, and you can use the JsonPath class to reference and manipulate that data at each step.
The package depends on core CDK modules (aws-cloudwatch, aws-events, aws-iam, aws-logs, aws-s3, aws-cdk.core) and constructs, and is typically used alongside aws-cdk.aws-stepfunctions-tasks to invoke other AWS services. However, AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer maintained; the AWS team recommends migrating to AWS CDK v2 for ongoing support and updates.
Use it for:
- Define serverless workflows that orchestrate Lambda functions, wait states, and conditional branching without writing raw JSON state machine definitions.
- Build job-polling patterns where a workflow submits a job, waits for status updates, and handles success or failure outcomes.
- Create multi-step data processing pipelines that integrate with AWS services like S3, CloudWatch, and IAM through CDK constructs.
- Prototype and test state machine logic in Python before deploying to AWS Step Functions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python constructs for defining AWS Step Functions state machines using AWS CDK v1, enabling serverless workflow orchestration through code.
No. This package is end-of-support as of 2023-06-01 and receives no further updates. AWS CDK v1 users should migrate to AWS CDK v2 to maintain security, compatibility, and access to new features. Installing this package locks you into an unsupported version with no path forward for bug fixes or enhancements.
Install
aws-cdk-aws-stepfunctions on PyPI
pip
pip install aws-cdk-aws-stepfunctionsuv
uv add aws-cdk-aws-stepfunctionspoetry
poetry add aws-cdk-aws-stepfunctionsInstalling aws-cdk.aws-stepfunctions
Before you install
Low install friction with pure Python wheel distribution. However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated—users should migrate to AWS CDK v2.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
import aws_cdk.aws_stepfunctions as sfn
from aws_cdk import Duration
start_state = sfn.Pass(self, "StartState")
sfn.StateMachine(self, "StateMachine",
definition=start_state,
timeout=Duration.minutes(5)
)
Requires AWS CDK v1 environment; v1 is end-of-support as of 2023-06-01 and no longer receives updates.
Verify before relying
- Whether migration tooling from v1 to v2 is available and how complex the transition typically is
- Current community support status and availability of v1-specific documentation or forums
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — aws-cdk.aws-cloudwatch, aws-cdk.aws-events, aws-cdk.aws-iam, aws-cdk.aws-logs, aws-cdk.aws-s3, aws-cdk.core, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 141,731/month — #11,234 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_stepfunctions-1.204.0-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
aws-cdk.aws-samProvides AWS CDK v1 constructs for defining…
permissive · top 15,000 on PyPI
stepfunctionsBuilds and orchestrates machine learning…
permissive · top 15,000 on PyPI
aws-cdk.aws-apigatewayProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-imagebuilderProvides AWS CDK L1 constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-ssmProvides CDK constructs for defining AWS…
permissive · top 15,000 on PyPI
aws-cdk.aws-sqsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-lambdaDefines AWS Lambda functions and layers as…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-autoscaling-commonProvides shared internal implementation details…
permissive · top 15,000 on PyPI
aws-cdk.aws-batchDefines AWS Batch infrastructure (compute…
permissive · top 15,000 on PyPI