public static interface CfnHostedZone.VPCProperty
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() |
java.lang.String |
getVpcId()
*Private hosted zones only:* The ID of an Amazon VPC.
|
java.lang.String |
getVpcRegion()
*Private hosted zones only:* The region that an Amazon VPC was created in.
|
java.lang.String getVpcId()
For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.
java.lang.String getVpcRegion()
For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.
static CfnHostedZone.VPCProperty.Builder builder()
CfnHostedZone.VPCProperty.Builder
of CfnHostedZone.VPCProperty