aws-cdk.aws-route53
The CDK Construct Library for AWS::Route53
What it is and what it does
This package is the Route53 construct library for AWS CDK v1, a framework for defining AWS infrastructure using Python code. It wraps Route53 resources—hosted zones, DNS records, and cross-account zone delegation—into reusable constructs that compile to CloudFormation templates. You use it to declare public and private hosted zones, add A, AAAA, CNAME, MX, NS, TXT, and other record types, and configure VPC endpoint service private DNS, all within a CDK stack.
The package depends on aws-cdk.core and related AWS service libraries (ec2, iam, logs, custom-resources) plus jsii and constructs for the CDK runtime. However, AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer receiving updates. New projects should use AWS CDK v2 instead; existing v1 projects can continue to use this package, but will not receive bug fixes or security patches.
Use it for:
- Define public hosted zones and DNS records for domain management as code within a CDK stack.
- Set up private hosted zones in VPCs and add additional VPCs to existing zones programmatically.
- Create cross-account zone delegation records to manage subdomains in different AWS accounts.
- Configure VPC endpoint service private DNS names to avoid SSL certificate mismatch errors.
- Import existing Route53 hosted zones by ID or domain name lookup to integrate with CDK stacks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python constructs to define and manage Amazon Route53 hosted zones and DNS records as infrastructure-as-code within AWS CDK v1.
No, not for new projects. AWS CDK v1 is end-of-support as of 2023-06-01 and receives no further updates. Migrate to AWS CDK v2 instead. Existing CDK v1 projects can continue using this package if they cannot migrate immediately, but should plan a transition to avoid accumulating technical debt.
Install
aws-cdk-aws-route53 on PyPI
pip
pip install aws-cdk-aws-route53uv
uv add aws-cdk-aws-route53poetry
poetry add aws-cdk-aws-route53Installing aws-cdk.aws-route53
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 instead.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install aws-cdk.aws-route53
from aws_cdk import aws_route53 as route53
zone = route53.PublicHostedZone(self, "HostedZone",
zone_name="example.com"
)
route53.ARecord(self, "ARecord",
zone=zone,
target=route53.RecordTarget.from_ip_addresses("1.2.3.4")
)
Requires AWS CDK v1 environment and Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01.
Verify before relying
- Whether existing CDK v1 projects can safely continue using this package despite end-of-support status.
- Migration path complexity and effort for projects moving from CDK v1 to CDK v2.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — aws-cdk.aws-ec2, aws-cdk.aws-iam, aws-cdk.aws-logs, aws-cdk.cloud-assembly-schema, aws-cdk.core, aws-cdk.custom-resources, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 158,626/month — #10,716 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_route53-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.aws-route53-targetsProvides Route53 alias record targets for AWS…
permissive · top 15,000 on PyPI
aws-cdk.aws-servicediscoveryProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-ec2Provides AWS CDK constructs for defining EC2…
permissive · top 15,000 on PyPI
aws-cdk.aws-fsxProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-certificatemanagerProvides AWS CDK Constructs for provisioning…
permissive · top 15,000 on PyPI
aws-cdk.aws-efsProvides CDK constructs to define Amazon EFS…
permissive · top 15,000 on PyPI
dnslibEncodes and decodes DNS wire-format packets,…
permissive · top 5,000 on PyPI
aws-cdk.coreProvides the core construct classes and stack…
permissive · top 15,000 on PyPI
aws-cdk.aws-secretsmanagerAWS CDK construct library for provisioning and…
permissive · top 15,000 on PyPI
octodnsoctoDNS provides tools to manage DNS records…
permissive · top 15,000 on PyPI