CommonHostedZoneProps Struct
Common properties to create a Route 53 hosted zone.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const commonHostedZoneProps: route53.CommonHostedZoneProps = {
zoneName: 'zoneName',
// the properties below are optional
addTrailingDot: false,
comment: 'comment',
queryLogsLogGroupArn: 'queryLogsLogGroupArn',
};
Properties
addTrailingDotoptionalbooleanadd_trailing_dotoptionalbooladdTrailingDotoptionalBooleanAddTrailingDotoptionalboolAddTrailingDotoptional*bool= true#Whether to add a trailing dot to the zone name.
commentoptionalstringcommentoptionalstrcommentoptionalStringCommentoptionalstringCommentoptional*string= none#Any comments that you want to include about the hosted zone.
queryLogsLogGroupArnoptionalstringquery_logs_log_group_arnoptionalstrqueryLogsLogGroupArnoptionalStringQueryLogsLogGroupArnoptionalstringQueryLogsLogGroupArnoptional*string= disabled#The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.
The name of the domain.
For resource record types that include a domain name, specify a fully qualified domain name.