skillfed

aws-cdk.aws-stepfunctions

The CDK Construct Library for AWS::StepFunctions

aws-cdk-aws-stepfunctions v1.204.0 141.7K downloads/30d#11,234 on PyPI12,868
Permissive license Apache-2.0 Active released

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-stepfunctions

uv

uv add aws-cdk-aws-stepfunctions

poetry

poetry add aws-cdk-aws-stepfunctions

Installing 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

Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Tags

aws step functions cdkserverless workflow orchestrationstate machine definition pythonaws cdk construct libraryworkflow automation aws
end-of-lifeaws-cdk-v1deprecated

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

aws-cdk.aws-sam

Provides AWS CDK v1 constructs for defining…

permissive · top 15,000 on PyPI

stepfunctions

Builds and orchestrates machine learning…

permissive · top 15,000 on PyPI

aws-cdk.aws-apigateway

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-ssm

Provides CDK constructs for defining AWS…

permissive · top 15,000 on PyPI

aws-cdk.aws-sqs

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda

Defines AWS Lambda functions and layers as…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling-common

Provides shared internal implementation details…

permissive · top 15,000 on PyPI

aws-cdk.aws-batch

Defines AWS Batch infrastructure (compute…

permissive · top 15,000 on PyPI