Container for records, and records contain information about how to route traffic for a specific domain, such as example.com and its subdomains (acme.example.com, zenith.example.com).
import { HostedZone } from 'aws-cdk-lib/aws-route53';Or use the module namespace:
import * as route53 from 'aws-cdk-lib/aws-route53';
// route53.HostedZoneConfiguration passed to the constructor as HostedZoneProps.
vpcsOptionalIVpc[]A VPC that you want to associate with this hosted zone. When you specify this property, a private hosted zone will be created. You can associate additional VPCs to this private zone using `addVpc(vpc)`.
Default: public (no VPCs associated)
CommonHostedZonePropszoneNameRequiredinherited from CommonHostedZonePropsstringThe name of the domain. For resource record types that include a domain name, specify a fully qualified domain name.
addTrailingDotOptionalinherited from CommonHostedZonePropsbooleanWhether to add a trailing dot to the zone name.
Default: true
commentOptionalinherited from CommonHostedZonePropsstringAny comments that you want to include about the hosted zone.
Default: none
queryLogsLogGroupArnOptionalinherited from CommonHostedZonePropsstringThe Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.
Default: disabled
Everything you need to know about Amazon Route 53 on one page. HD quality, print-friendly.
Download Free Infographicaws-route53