Interface HostedZoneProps
- All Superinterfaces:
CommonHostedZoneProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostedZoneProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:26.232Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHostedZoneProps
static final class
An implementation forHostedZoneProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HostedZoneProps.Builder
builder()
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, getZoneName
Methods 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.Builder
ofHostedZoneProps
-