$npx skillfedfor your agent

aws-cdk.aws-lambda-python-alpha

The CDK Construct Library for AWS Lambda in Python

With conditionsPyPI Build ToolsReleased Aug 20261.6M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_cdk_aws_lambda_python_alpha-2.265.0a0-py3-none-any.whl
v2.265.0a0 · released 2026-08-13 · Python >=3.10 · 4 runtime deps: aws-cdk-lib, constructs, jsii, publication

Yes, with conditions. Install if you are using AWS CDK to manage Lambda infrastructure and want Python function packaging automated. The low install friction and active maintenance are positive signals. However, be aware that this is a Beta library with experimental APIs—breaking changes can occur between versions without semantic versioning guarantees, so pin your version and review release notes before upgrading. Docker is a hard requirement for local development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Docker must be installed and running locally; the construct uses Docker containers to package dependencies in a Lambda-compatible environment.
  • Active maintenance with a release within 1 day of this fact sheet.
  • Low install friction from a pure-dependency standpoint, but requires Docker to be installed locally for packaging Python Lambda functions and layers.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 12,868 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,617,559 downloads/mo, #3,714 on PyPI

Verify before relying

pip install aws-cdk-aws-lambda-python-alpha

from aws_cdk_aws_lambda_python_alpha import PythonFunction

PythonFunction(self, "MyFunction",
    entry="/path/to/my/function",
    runtime=Runtime.PYTHON_3_8
)
  • Stability guarantee: description states APIs are experimental and subject to non-backward compatible changes; impact on production use unclear.
  • Performance characteristics of Docker-based packaging for large dependency trees not documented in excerpt.
  • Whether all Python versions listed in classifiers (3.10 through 3.14) are equally supported or if some are preferred.
Same gist for agents: .md · .json

What it is and what it does

This is an AWS CDK library that provides high-level Python constructs for defining AWS Lambda functions and layers. It abstracts away the complexity of packaging Python code and dependencies into Lambda-compatible artifacts by automatically detecting and bundling requirements from `requirements.txt`, `Pipfile`, `poetry.lock`, or `uv.lock` files. The library uses Docker to ensure dependencies are compiled and packaged in an environment matching the target Lambda runtime, supporting multiple Python versions and custom bundling options for private package repositories or custom Docker images.

The package is built on top of aws-cdk-lib, constructs, jsii, and publication, and is actively maintained. It requires Python 3.10 or later and is classified as Beta. The description explicitly warns that its APIs are experimental and subject to breaking changes without semantic versioning guarantees, meaning upgrades may require code updates.

Use it for

  • Define and deploy Python Lambda functions with automatic dependency resolution using CDK infrastructure-as-code.
  • Create reusable Lambda layers with shared Python dependencies that multiple functions can reference.
  • Package Python code for Lambda using poetry, pipenv, or uv lockfiles to ensure reproducible builds.
  • Deploy Lambda functions to private package repositories using custom bundling options.
  • Exclude files from Lambda bundles to reduce package size.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you are using AWS CDK to manage Lambda infrastructure and want Python function packaging automated. The low install friction and active maintenance are positive signals. However, be aware that this is a Beta library with experimental APIs—breaking changes can occur between versions without semantic versioning guarantees, so pin your version and review release notes before upgrading. Docker is a hard requirement for local development.

Install

aws-cdk-aws-lambda-python-alpha on PyPI

Before you install

Active maintenance with a release within 1 day of this fact sheet. Low install friction from a pure-dependency standpoint, but requires Docker to be installed locally for packaging Python Lambda functions and layers.

Docker must be installed and running locally; the construct uses Docker containers to package dependencies in a Lambda-compatible environment.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install aws-cdk-aws-lambda-python-alpha

from aws_cdk_aws_lambda_python_alpha import PythonFunction

PythonFunction(self, "MyFunction",
    entry="/path/to/my/function",
    runtime=Runtime.PYTHON_3_8
)

Verify before relying

  • Stability guarantee: description states APIs are experimental and subject to non-backward compatible changes; impact on production use unclear.
  • Performance characteristics of Docker-based packaging for large dependency trees not documented in excerpt.
  • Whether all Python versions listed in classifiers (3.10 through 3.14) are equally supported or if some are preferred.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
aws-cdk-libconstructsjsiipublication
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads1,617,559 / month, #3,714 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Evidence: aws_cdk_aws_lambda_python_alpha-2.265.0a0-py3-none-any.whl

Tags

Capabilities
aws lambda python cdklambda function constructspython lambda packagingaws cdk lambda layerserverless python deploymentlambda dependency bundlingcdk python runtime
Topics
aws-lambdainfrastructure-as-codedocker-packaging

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lambda function constructs”

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also aws-cdk.aws-lambda · aws-cdk.aws-sam · aws-cdk.asset-awscli-v1 · aws-cdk.aws-codestar-alpha · aws-cdk.lambda-layer-kubectl-v35 · aws-cdk.aws-s3-assets · aws-cdk.asset-kubectl-v20 · aws-cdk.aws-imagebuilder · datadog-cdk-constructs-v2 · aws-cdk.asset-node-proxy-agent-v6