Create a Route53 private hosted zone for use in one or more VPCs. Note that `enableDnsHostnames` and `enableDnsSupport` must have been enabled for the VPC you're configuring for private hosted zones.
import { PrivateHostedZone } from 'aws-cdk-lib/aws-route53';Or use the module namespace:
import * as route53 from 'aws-cdk-lib/aws-route53';
// route53.PrivateHostedZoneConfiguration passed to the constructor as PrivateHostedZoneProps.
vpcRequiredIVpcA VPC that you want to associate with this hosted zone. Private hosted zones must be associated with at least one VPC. You can associated additional VPCs using `addVpc(vpc)`.
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