Class PrivateHostedZoneProps
Properties to create a Route 53 private hosted zone.
Inheritance
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateHostedZoneProps : Object, IPrivateHostedZoneProps, ICommonHostedZoneProps
Syntax (vb)
Public Class PrivateHostedZoneProps
Inherits Object
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
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()
public PrivateHostedZoneProps()
Properties
AddTrailingDot
Whether to add a trailing dot to the zone name.
public Nullable<bool> AddTrailingDot { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Comment
Any comments that you want to include about the hosted zone.
public string Comment { get; set; }
Property Value
System.String
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
System.String
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
System.String
Remarks
For resource record types that include a domain name, specify a fully qualified domain name.