Interface CfnHostedZone.VPCProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHostedZone.VPCProperty.Jsii$Proxy
- Enclosing class:
CfnHostedZone
@Stability(Stable)
public static interface CfnHostedZone.VPCProperty
extends software.amazon.jsii.JsiiSerializable
Private hosted zones only: A complex type that contains information about an Amazon VPC.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnHostedZone.VPCProperty
static final class
An implementation forCfnHostedZone.VPCProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcId
Private hosted zones only: The ID of an Amazon VPC.For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.- See Also:
-
getVpcRegion
Private hosted zones only: The region that an Amazon VPC was created in.For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.- See Also:
-
builder
- Returns:
- a
CfnHostedZone.VPCProperty.Builder
ofCfnHostedZone.VPCProperty
-