@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.673Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIPrivateHostedZone.Jsii$Default, IPrivateHostedZone.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
PrivateHostedZone(software.constructs.Construct scope,
String id,
PrivateHostedZoneProps props) |
protected |
PrivateHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PrivateHostedZone(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IPrivateHostedZone |
fromPrivateHostedZoneId(software.constructs.Construct scope,
String id,
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, getZoneNameapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHostedZoneArn, getHostedZoneId, getHostedZoneNameServers, getZoneNameapplyRemovalPolicy, getEnv, getStackprotected PrivateHostedZone(software.amazon.jsii.JsiiObjectRef objRef)
protected PrivateHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public PrivateHostedZone(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PrivateHostedZoneProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IPrivateHostedZone fromPrivateHostedZoneId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String privateHostedZoneId)
Use when hosted zone ID is known. If a HostedZone is imported with this method the zoneName cannot be referenced. If the zoneName is needed then you cannot import a PrivateHostedZone.
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.Copyright © 2022. All rights reserved.