cdk-ecr-deployment
CDK construct to deploy docker image to Amazon ECR
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a concrete problem in CDK-based infrastructure workflows. It is production-stable (Development Status 5) with no known vulnerabilities. Install it if you need to automate Docker image deployment within AWS CDK stacks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and an active AWS CDK environment with appropriate IAM permissions for ECR operations.
- Low install friction with a pure Python wheel.
- Actively maintained as of 2026-08-14 with 190 repository stars.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 190 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 548,458 downloads/mo, #6,062 on PyPI
Alternatives
Verify before relying
from cdk_ecr_deployment import ECRDeployment, DockerImageName
ECRDeployment(self, "DeployImage",
src=DockerImageName("nginx:latest"),
dest=DockerImageName(f"{account_id}.dkr.ecr.us-west-2.amazonaws.com/my-nginx:latest")
)- Whether the package handles image layer caching or optimization during copy operations.
- Performance characteristics when copying large or multi-architecture images.
- Whether retry logic and timeout configuration are user-configurable.
What it is and what it does
cdk-ecr-deployment is a CDK construct library that automates the deployment of Docker images to Amazon ECR and other registries. It wraps the container image transport layer used by Skopeo to enable image copying directly from CDK code, supporting sources like local Docker image assets, public registries, private registries (with credential management via AWS Secrets Manager), and S3 archives. The construct handles multi-architecture image indexes and can deploy to both private and public ECR repositories.
The package is designed for infrastructure-as-code workflows where Docker image deployment is part of a larger CDK stack. It abstracts away the complexity of registry authentication, image transport, and manifest handling, allowing developers to express image deployment as a declarative construct. The library relies on aws-cdk-lib, constructs, jsii, and publication for its core functionality.
Use it for
- Deploy a locally-built Docker image asset from CDK to a private ECR repository during stack synthesis.
- Mirror a public container image (e.g., nginx) from Docker Hub to a private ECR for air-gapped or compliance-controlled environments.
- Copy multi-architecture images with per-architecture tags to support both amd64 and arm64 deployments.
- Restore a Docker image from an S3-stored tarball archive into ECR as part of disaster recovery or migration workflows.
- Publish a private ECR image to AWS public ECR with automatic IAM permission attachment.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and solves a concrete problem in CDK-based infrastructure workflows. It is production-stable (Development Status 5) with no known vulnerabilities. Install it if you need to automate Docker image deployment within AWS CDK stacks.
Install
cdk-ecr-deployment on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained as of 2026-08-14 with 190 repository stars. Requires aws-cdk-lib, constructs, jsii, and publication as runtime dependencies.
Requires Python 3.10 or later and an active AWS CDK environment with appropriate IAM permissions for ECR operations.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
from cdk_ecr_deployment import ECRDeployment, DockerImageName
ECRDeployment(self, "DeployImage",
src=DockerImageName("nginx:latest"),
dest=DockerImageName(f"{account_id}.dkr.ecr.us-west-2.amazonaws.com/my-nginx:latest")
)
Verify before relying
- Whether the package handles image layer caching or optimization during copy operations.
- Performance characteristics when copying large or multi-architecture images.
- Whether retry logic and timeout configuration are user-configurable.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaws-cdk-libconstructsjsiipublication |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 548,458 / month, #6,062 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/StableIntended 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: cdk_ecr_deployment-4.2.49-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 › “docker image deployment ecr”
- cdk-ecr-deploymentA CDK construct that copies Docker images between registries (ECR,…
- aws-cdk.aws-ecr-assetsBundles Docker images as AWS CDK assets, building from Dockerfiles or…
- metaflow-prebuiltMetaflow extension that pre-bakes conda and PyPI dependencies into…
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.aws-ecr-assets · aws-cdk.aws-ecr · aws-cdk.aws-apprunner-alpha · aws-cdk.aws-s3-assets · ecs-deploy · docker-image-py · aws-cdk.aws-s3-deployment · cdk-cloudformation-datadog-monitors-monitor · aws-cdk.aws-secretsmanager · aws-cdk.aws-lambda