aws-cdk.cx-api
Cloud executable protocol
Decision gist · record as of 2026-08-14
Yes, but typically as a transitive dependency rather than a direct install. If you are building AWS CDK applications in Python, this package will be installed automatically. Install it directly only if you are extending CDK with custom constructs, building tooling around CDK synthesis, or need to configure advanced feature flags for your infrastructure code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; intended as an internal AWS CDK component, not typically installed directly by end users.
- Active maintenance with a release 1 day old.
- Low install friction with only 3 runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—standard for AWS CDK components.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 203,758 downloads/mo, #9,625 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.cx-api
from aws_cdk.cloud_assembly_schema import CloudAssembly
from aws_cdk.cx_api import CloudAssemblyBuilder
builder = CloudAssemblyBuilder()
# Use builder to construct cloud assembly artifacts- Whether this package is intended for direct use or primarily as an internal CDK dependency.
- Specific use cases and APIs beyond feature flag configuration documented in the excerpt.
What it is and what it does
aws-cdk.cx-api is the protocol layer and context API that underpins the AWS Cloud Development Kit. It defines how CDK synthesizes infrastructure code into cloud assembly artifacts—the intermediate representation that gets deployed to CloudFormation and other AWS services. The package handles serialization of CDK constructs, manages feature flags that control CDK behavior across versions, and provides the runtime context needed for CDK applications to generate correct CloudFormation templates.
This is a low-level component primarily consumed by other CDK modules rather than directly by application code. It depends on jsii for language bindings, cloud-assembly-schema for artifact structure, and publication for distribution. The package is actively maintained as part of the AWS CDK project and supports Python 3.10 through 3.14.
Use it for
- Building custom CDK constructs or extensions that need to interact with the cloud assembly protocol.
- Configuring CDK feature flags in cdk.json to control S3 bucket policies, SNS-SQS security, API Gateway CloudWatch roles, and other infrastructure behaviors.
- Integrating CDK-generated infrastructure with custom deployment or validation tooling that consumes cloud assembly artifacts.
- Debugging CDK synthesis by accessing the context API and cloud executable format directly.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but typically as a transitive dependency rather than a direct install.
If you are building AWS CDK applications in Python, this package will be installed automatically. Install it directly only if you are extending CDK with custom constructs, building tooling around CDK synthesis, or need to configure advanced feature flags for your infrastructure code.
Install
aws-cdk-cx-api on PyPI
Before you install
Active maintenance with a release 1 day old. Low install friction with only 3 runtime dependencies. Part of the core AWS CDK ecosystem with strong repository signals (12868 stars, current commits).
Requires Python 3.10 or later; intended as an internal AWS CDK component, not typically installed directly by end users.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—standard for AWS CDK components.
Quickstart
pip install aws-cdk.cx-api
from aws_cdk.cloud_assembly_schema import CloudAssembly
from aws_cdk.cx_api import CloudAssemblyBuilder
builder = CloudAssemblyBuilder()
# Use builder to construct cloud assembly artifacts
Verify before relying
- Whether this package is intended for direct use or primarily as an internal CDK dependency.
- Specific use cases and APIs beyond feature flag configuration documented in the excerpt.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesaws-cdk.cloud-assembly-schemajsiipublication |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 203,758 / month, #9,625 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: 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_cx_api-2.265.0-py3-none-any.whl
Tags
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 › “CDK context API”
- aws-cdk.cx-apiProvides the cloud executable protocol and context API for AWS CDK,…
- cdk-iam-floydGenerates AWS IAM policy statements with a fluent interface,…
- aws-cdk.aws-ecr-assetsBundles Docker images as AWS CDK assets, building from Dockerfiles or…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
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.
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.
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.
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.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
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.
See also aws-cdk.cloud-assembly-schema · aws-cdk.core · aws-cdk.aws-cloudformation · aws-cdk.assets · aws-cdk.aws-s3-deployment · aws-cdk.aws-s3 · aws-cdk.aws-cloudfront · aws-cdk.aws-codebuild · aws-cdk-lib · aws-cdk.aws-imagebuilder