Interface IPrivateHostedZoneAttributes
Reference to a private hosted zone.
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPrivateHostedZoneAttributes : IHostedZoneAttributes
Syntax (vb)
Public Interface IPrivateHostedZoneAttributes Inherits IHostedZoneAttributes
Remarks
ExampleMetadata: infused
Examples
var privateZoneFromAttributes = PrivateHostedZone.FromPrivateHostedZoneAttributes(this, "MyPrivateZone", new PrivateHostedZoneAttributes {
ZoneName = "example.local",
HostedZoneId = "ZOJJZC49E0EPZ"
});
// Does not know zoneName
var privateZoneFromId = PrivateHostedZone.FromPrivateHostedZoneId(this, "MyPrivateZone", "ZOJJZC49E0EPZ");