Interface HostedZoneProps
- All Superinterfaces:
CommonHostedZoneProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostedZoneProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:19.354Z")
@Stability(Stable)
public interface HostedZoneProps
extends software.amazon.jsii.JsiiSerializable, CommonHostedZoneProps
Properties of a new hosted zone.
Example:
HostedZone hostedZone = HostedZone.Builder.create(this, "MyHostedZone").zoneName("example.org").build();
Metric metric = Metric.Builder.create()
.namespace("AWS/Route53")
.metricName("DNSQueries")
.dimensionsMap(Map.of(
"HostedZoneId", hostedZone.getHostedZoneId()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHostedZonePropsstatic final classAn implementation forHostedZoneProps -
Method Summary
Modifier and TypeMethodDescriptionstatic HostedZoneProps.Builderbuilder()getVpcs()A VPC that you want to associate with this hosted zone.Methods inherited from interface software.amazon.awscdk.services.route53.CommonHostedZoneProps
getAddTrailingDot, getComment, getQueryLogsLogGroupArn, getZoneNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcs
A VPC that you want to associate with this hosted zone.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)
-
builder
- Returns:
- a
HostedZoneProps.BuilderofHostedZoneProps
-