Class PrivateHostedZoneProps
Properties to create a Route 53 private hosted zone.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateHostedZoneProps : IPrivateHostedZoneProps, ICommonHostedZoneProps
Syntax (vb)
Public Class PrivateHostedZoneProps Implements IPrivateHostedZoneProps, ICommonHostedZoneProps
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
var zone = new PrivateHostedZone(this, "HostedZone", new PrivateHostedZoneProps {
ZoneName = "fully.qualified.domain.com",
Vpc = vpc
});
Synopsis
Constructors
| PrivateHostedZoneProps() | Properties to create a Route 53 private hosted zone. |
Properties
| AddTrailingDot | Whether to add a trailing dot to the zone name. |
| Comment | Any comments that you want to include about the hosted zone. |
| QueryLogsLogGroupArn | The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to. |
| Vpc | A VPC that you want to associate with this hosted zone. |
| ZoneName | The name of the domain. |
Constructors
PrivateHostedZoneProps()
Properties to create a Route 53 private hosted zone.
public PrivateHostedZoneProps()
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
var zone = new PrivateHostedZone(this, "HostedZone", new PrivateHostedZoneProps {
ZoneName = "fully.qualified.domain.com",
Vpc = vpc
});
Properties
AddTrailingDot
Whether to add a trailing dot to the zone name.
public bool? AddTrailingDot { get; set; }
Property Value
bool?
Remarks
Default: true
Comment
Any comments that you want to include about the hosted zone.
public string? Comment { get; set; }
Property Value
Remarks
Default: none
QueryLogsLogGroupArn
The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.
public string? QueryLogsLogGroupArn { get; set; }
Property Value
Remarks
Default: disabled
Vpc
A VPC that you want to associate with this hosted zone.
public IVpc Vpc { get; set; }
Property Value
Remarks
Private hosted zones must be associated with at least one VPC. You can
associated additional VPCs using addVpc(vpc).
ZoneName
The name of the domain.
public string ZoneName { get; set; }
Property Value
Remarks
For resource record types that include a domain name, specify a fully qualified domain name.