interface CommonHostedZoneProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53.CommonHostedZoneProps |
Java | software.amazon.awscdk.services.route53.CommonHostedZoneProps |
Python | aws_cdk.aws_route53.CommonHostedZoneProps |
TypeScript (source) | @aws-cdk/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 * as route53 from '@aws-cdk/aws-route53';
const commonHostedZoneProps: route53.CommonHostedZoneProps = {
zoneName: 'zoneName',
// the properties below are optional
comment: 'comment',
queryLogsLogGroupArn: 'queryLogsLogGroupArn',
};
Properties
Name | Type | Description |
---|---|---|
zone | string | The name of the domain. |
comment? | string | Any comments that you want to include about the hosted zone. |
query | string | The 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.
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.