@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.042Z") public class PrivateHostedZone extends HostedZone implements IPrivateHostedZone
Note that enableDnsHostnames
and enableDnsSupport
must have been enabled
for the VPC you're configuring for private hosted zones.
Example:
Vpc vpc; PrivateHostedZone zone = PrivateHostedZone.Builder.create(this, "HostedZone") .zoneName("fully.qualified.domain.com") .vpc(vpc) .build();
Modifier and Type | Class and Description |
---|---|
static class |
PrivateHostedZone.Builder
A fluent builder for
PrivateHostedZone . |
IPrivateHostedZone.Jsii$Default, IPrivateHostedZone.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
PrivateHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PrivateHostedZone(software.amazon.jsii.JsiiObjectRef objRef) |
|
PrivateHostedZone(software.constructs.Construct scope,
java.lang.String id,
PrivateHostedZoneProps props) |
Modifier and Type | Method and Description |
---|---|
static IPrivateHostedZone |
fromPrivateHostedZoneId(software.constructs.Construct scope,
java.lang.String id,
java.lang.String privateHostedZoneId)
Import a Route 53 private hosted zone defined either outside the CDK, or in a different CDK stack.
|
addVpc, fromHostedZoneAttributes, fromHostedZoneId, fromLookup, getHostedZoneArn, getHostedZoneId, getHostedZoneNameServers, getVpcs, getZoneName
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHostedZoneArn, getHostedZoneId, getHostedZoneNameServers, getZoneName
applyRemovalPolicy, getEnv, getStack
getNode
protected PrivateHostedZone(software.amazon.jsii.JsiiObjectRef objRef)
protected PrivateHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public PrivateHostedZone(software.constructs.Construct scope, java.lang.String id, PrivateHostedZoneProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IPrivateHostedZone fromPrivateHostedZoneId(software.constructs.Construct scope, java.lang.String id, java.lang.String privateHostedZoneId)
scope
- the parent Construct for this Construct. This parameter is required.id
- the logical name of this Construct. This parameter is required.privateHostedZoneId
- the ID of the private hosted zone to import. This parameter is required.