Interface PublicHostedZoneAttributes
- All Superinterfaces:
HostedZoneAttributes,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublicHostedZoneAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:45.951Z")
@Stability(Stable)
public interface PublicHostedZoneAttributes
extends software.amazon.jsii.JsiiSerializable, HostedZoneAttributes
Reference to a public hosted zone.
Example:
IPublicHostedZone zoneFromAttributes = PublicHostedZone.fromPublicHostedZoneAttributes(this, "MyZone", PublicHostedZoneAttributes.builder()
.zoneName("example.com")
.hostedZoneId("ZOJJZC49E0EPZ")
.build());
// Does not know zoneName
IPublicHostedZone zoneFromId = PublicHostedZone.fromPublicHostedZoneId(this, "MyZone", "ZOJJZC49E0EPZ");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPublicHostedZoneAttributesstatic final classAn implementation forPublicHostedZoneAttributes -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.route53.HostedZoneAttributes
getHostedZoneId, getZoneNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
- Returns:
- a
PublicHostedZoneAttributes.BuilderofPublicHostedZoneAttributes
-