@Stability(value=Stable)
public static interface CfnHostedZone.VPCProperty
extends software.amazon.jsii.JsiiSerializable
Route 53 Resolver uses the records in the private hosted zone to route traffic in that VPC.
For public hosted zones, omit
VPCs,VPCId, andVPCRegion.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53.*;
VPCProperty vPCProperty = VPCProperty.builder()
.vpcId("vpcId")
.vpcRegion("vpcRegion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnHostedZone.VPCProperty.Builder
A builder for
CfnHostedZone.VPCProperty |
static class |
CfnHostedZone.VPCProperty.Jsii$Proxy
An implementation for
CfnHostedZone.VPCProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnHostedZone.VPCProperty.Builder |
builder() |
String |
getVpcId()
*Private hosted zones only:* The ID of an Amazon VPC.
|
String |
getVpcRegion()
*Private hosted zones only:* The region that an Amazon VPC was created in.
|
@Stability(value=Stable) @NotNull String getVpcId()
For public hosted zones, omit
VPCs,VPCId, andVPCRegion.
@Stability(value=Stable) @NotNull String getVpcRegion()
For public hosted zones, omit
VPCs,VPCId, andVPCRegion.
@Stability(value=Stable) static CfnHostedZone.VPCProperty.Builder builder()
CfnHostedZone.VPCProperty.Builder of CfnHostedZone.VPCPropertyCopyright © 2022. All rights reserved.