This Python package provides a proxy agent for AWS CDK applications that build Node.js assets (e.g., Lambda functions) behind an HTTP/HTTPS proxy. It wraps the `@aws-cdk/asset-node-proxy-agent-v6` Node.js package, enabling the `cdk` CLI to automatically route Node.js asset bundling traffic through configured proxy servers. The current version is 2.1.1, with releases typically aligning with updates to the underlying Node.js agent or CDK ecosystem.
pip install aws-cdk-asset-node-proxy-agent-v6Verified import paths — ran on the pinned version, not inferred.
This package primarily functions by being installed in the Python environment where `cdk` commands are run, and by the presence of standard proxy environment variables (e.g., `HTTPS_PROXY`). The `cdk` CLI automatically detects and uses it when building Node.js assets. The example below shows a basic CDK app with a Node.js Lambda, which would implicitly benefit from the proxy agent if environment variables are set.
Simply install the package in the Python environment used by the `cdk` CLI and ensure proxy environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY) are set correctly in the shell.
Verify that `node --version` and `cdk --version` commands execute successfully. Install Node.js and `aws-cdk` globally if not already present (`npm install -g aws-cdk`).
Always check the official `awscdk-asset-node-proxy-agent` GitHub repository and AWS CDK release notes for compatibility announcements when upgrading your CDK CLI or Node.js version.
Ensure your Python environment is running Python 3.9 or a newer compatible version.
No dependency data recorded yet.