Interface IPublicHostedZoneAttributes
Reference to a public hosted zone.
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPublicHostedZoneAttributes : IHostedZoneAttributes
Syntax (vb)
Public Interface IPublicHostedZoneAttributes
Inherits IHostedZoneAttributes
Remarks
ExampleMetadata: infused
Examples
var zoneFromAttributes = PublicHostedZone.FromPublicHostedZoneAttributes(this, "MyZone", new PublicHostedZoneAttributes {
ZoneName = "example.com",
HostedZoneId = "ZOJJZC49E0EPZ"
});
// Does not know zoneName
var zoneFromId = PublicHostedZone.FromPublicHostedZoneId(this, "MyZone", "ZOJJZC49E0EPZ");