interface PublicHostedZoneProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.PublicHostedZoneProps |
Java | software.amazon.awscdk.services.route53.PublicHostedZoneProps |
Python | aws_cdk.aws_route53.PublicHostedZoneProps |
TypeScript (source) | @aws-cdk/aws-route53 » PublicHostedZoneProps |
Construction properties for a PublicHostedZone.
Example
const parentZone = new route53.PublicHostedZone(this, 'HostedZone', {
zoneName: 'someexample.com',
crossAccountZoneDelegationPrincipal: new iam.AccountPrincipal('12345678901'),
crossAccountZoneDelegationRoleName: 'MyDelegationRole',
});
Properties
| Name | Type | Description |
|---|---|---|
| zone | string | The name of the domain. |
| caa | boolean | Whether to create a CAA record to restrict certificate authorities allowed to issue certificates for this domain to Amazon only. |
| comment? | string | Any comments that you want to include about the hosted zone. |
| cross | IPrincipal | A principal which is trusted to assume a role for zone delegation. |
| cross | string | The name of the role created for cross account delegation. |
| 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.
caaAmazon?
Type:
boolean
(optional, default: false)
Whether to create a CAA record to restrict certificate authorities allowed to issue certificates for this domain to Amazon only.
comment?
Type:
string
(optional, default: none)
Any comments that you want to include about the hosted zone.
crossAccountZoneDelegationPrincipal?
Type:
IPrincipal
(optional, default: No delegation configuration)
A principal which is trusted to assume a role for zone delegation.
crossAccountZoneDelegationRoleName?
Type:
string
(optional, default: A role name is generated automatically)
The name of the role created for cross account delegation.
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.

.NET
Java
Python
TypeScript (