Class PrivateHostedZoneAttributes
Reference to a private hosted zone.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateHostedZoneAttributes : IPrivateHostedZoneAttributes, IHostedZoneAttributes
Syntax (vb)
Public Class PrivateHostedZoneAttributes Implements IPrivateHostedZoneAttributes, 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");
Synopsis
Constructors
| PrivateHostedZoneAttributes() | Reference to a private hosted zone. |
Properties
| HostedZoneId | Identifier of the hosted zone. |
| ZoneName | Name of the hosted zone. |
Constructors
PrivateHostedZoneAttributes()
Reference to a private hosted zone.
public PrivateHostedZoneAttributes()
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");
Properties
HostedZoneId
Identifier of the hosted zone.
public string HostedZoneId { get; set; }
Property Value
Remarks
ExampleMetadata: infused
ZoneName
Name of the hosted zone.
public string ZoneName { get; set; }
Property Value
Remarks
ExampleMetadata: infused