Interface IHostedZoneProps
Properties of a new hosted zone.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHostedZoneProps : ICommonHostedZoneProps
Syntax (vb)
Public Interface IHostedZoneProps
Inherits ICommonHostedZoneProps
Remarks
ExampleMetadata: infused
Examples
var hostedZone = new HostedZone(this, "MyHostedZone", new HostedZoneProps { ZoneName = "example.org" });
var metric = new Metric(new MetricProps {
Namespace = "AWS/Route53",
MetricName = "DNSQueries",
DimensionsMap = new Dictionary<string, string> {
{ "HostedZoneId", hostedZone.HostedZoneId }
}
});
Synopsis
Properties
Vpcs | A VPC that you want to associate with this hosted zone. |
Properties
Vpcs
A VPC that you want to associate with this hosted zone.
virtual IVpc[] Vpcs { get; }
Property Value
IVpc[]
Remarks
When you specify this property, a private hosted zone will be created.
You can associate additional VPCs to this private zone using addVpc(vpc)
.
Default: public (no VPCs associated)