$npx skillfedfor your agent

aws-cdk.aws-cloudfront

The CDK Construct Library for AWS::CloudFront

With conditionsPyPI Build ToolsReleased Jun 2023156.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_cdk.aws_cloudfront-1.204.0-py3-none-any.whl
v1.204.0 · released 2023-06-19 · Python ~=3.7 · 14 runtime deps: aws-cdk.aws-certificatemanager, aws-cdk.aws-cloudwatch, aws-cdk.aws-ec2, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-lambda, aws-cdk.aws-s3, aws-cdk.aws-ssm

Yes, if you are maintaining or extending an existing AWS CDK v1 codebase. No, if you are starting a new project—use AWS CDK v2 instead. The package is stable and well-maintained within the active CDK repository, but v1 itself is end-of-support and will not receive updates; migration to v2 is the recommended path forward.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires AWS CDK v1 runtime and constructs library; v1 is end-of-support as of 2023-06-01.
  • Low install friction with a pure-Python wheel.
  • 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 · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 156,811 downloads/mo, #10,774 on PyPI

Verify before relying

from aws_cdk import aws_cloudfront as cloudfront
from aws_cdk import aws_s3 as s3
from aws_cdk import aws_cloudfront_origins as origins

my_bucket = s3.Bucket(self, "myBucket")
cloudfront.Distribution(self, "myDist",
    default_behavior=cloudfront.BehaviorOptions(origin=origins.S3Origin(my_bucket))
)
  • Whether existing v1 code will continue to work in production or if migration to v2 is mandatory for new projects.
  • Availability and completeness of migration tooling or automated upgrade paths from v1 to v2.
Same gist for agents: .md · .json

What it is and what it does

This package provides AWS CDK constructs for defining CloudFront distributions declaratively in Python. It wraps CloudFront's API to let you configure content delivery from S3 buckets, load balancers, or custom HTTP origins, set up domain names and SSL certificates, define multiple behaviors with different routing rules, and manage cache settings—all as infrastructure-as-code rather than through the AWS console.

The package depends on 14 other AWS CDK modules (IAM, S3, Lambda, KMS, EC2, and others) plus core CDK infrastructure libraries. It is actively maintained in the AWS CDK repository but is part of CDK v1, which reached end-of-support on 2023-06-01. AWS recommends migrating to CDK v2 for new projects.

Use it for

  • Define a CloudFront distribution backed by an S3 bucket in a CDK stack, with automatic origin access identity setup for private buckets.
  • Configure multiple behaviors with different URL path patterns to route requests to different origins or apply different caching policies.
  • Set up a custom domain name and ACM certificate for a distribution to serve content over HTTPS with your own domain.
  • Programmatically manage HTTP methods, viewer protocol policies, and query string forwarding rules for cache behaviors.
  • Integrate CloudFront with ELBv2 load balancers as origins for dynamic content delivery through a CDK stack.

Worth the install?

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

With conditions

Yes, if you are maintaining or extending an existing AWS CDK v1 codebase.

No, if you are starting a new project—use AWS CDK v2 instead. The package is stable and well-maintained within the active CDK repository, but v1 itself is end-of-support and will not receive updates; migration to v2 is the recommended path forward.

Install

aws-cdk-aws-cloudfront on PyPI

Before you install

Low install friction with a pure-Python wheel. 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.

Requires AWS CDK v1 runtime and constructs library; v1 is end-of-support as of 2023-06-01.

License in practice

Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

from aws_cdk import aws_cloudfront as cloudfront
from aws_cdk import aws_s3 as s3
from aws_cdk import aws_cloudfront_origins as origins

my_bucket = s3.Bucket(self, "myBucket")
cloudfront.Distribution(self, "myDist",
    default_behavior=cloudfront.BehaviorOptions(origin=origins.S3Origin(my_bucket))
)

Verify before relying

  • Whether existing v1 code will continue to work in production or if migration to v2 is mandatory for new projects.
  • Availability and completeness of migration tooling or automated upgrade paths from v1 to v2.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release ~=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
14 packages
aws-cdk.aws-certificatemanageraws-cdk.aws-cloudwatchaws-cdk.aws-ec2aws-cdk.aws-iamaws-cdk.aws-kmsaws-cdk.aws-lambdaaws-cdk.aws-s3aws-cdk.aws-ssmaws-cdk.coreaws-cdk.cx-apiconstructsjsiipublicationtypeguard
MaintenanceActively maintained 1,152 days since the last release
Last repo commit
First released
Downloads156,811 / month, #10,774 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

Evidence: aws_cdk.aws_cloudfront-1.204.0-py3-none-any.whl

Tags

Capabilities
cloudfront cdn infrastructure as codeaws cdk cloudfront distributioncontent delivery network constructcloudfront origin behavior configurationcdk s3 cloudfront integrationaws edge location routingcloudfront domain certificate setup
Topics
infrastructure-as-codeaws-cdkend-of-support

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 › “cloudfront cdn infrastructure as code”

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-s3 · s3cmd · aws-cdk.aws-codebuild · aws-cdk.aws-route53-targets · aws-cdk.aws-s3-deployment · aws-cdk.core · aws-cdk.aws-kinesisanalytics-flink-alpha · aws-cdk.region-info · aws-cdk.aws-certificatemanager · aws-cdk.aws-elasticloadbalancingv2