aws-cdk-lib.aws_route53.CommonHostedZoneProps

interface CommonHostedZoneProps

LanguageType name
.NETAmazon.CDK.AWS.Route53.CommonHostedZoneProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53#CommonHostedZoneProps
Javasoftware.amazon.awscdk.services.route53.CommonHostedZoneProps
Pythonaws_cdk.aws_route53.CommonHostedZoneProps
TypeScript (source)aws-cdk-lib » aws_route53 » CommonHostedZoneProps

Common properties to create a Route 53 hosted zone.

Example

// 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

NameTypeDescription
zoneNamestringThe name of the domain.
addTrailingDot?booleanWhether to add a trailing dot to the zone name.
comment?stringAny comments that you want to include about the hosted zone.
queryLogsLogGroupArn?stringThe Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.

zoneName

Type: string

The name of the domain.

For resource record types that include a domain name, specify a fully qualified domain name.


addTrailingDot?

Type: boolean (optional, default: true)

Whether to add a trailing dot to the zone name.


comment?

Type: string (optional, default: none)

Any comments that you want to include about the hosted zone.


queryLogsLogGroupArn?

Type: string (optional, default: disabled)

The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.