interface VPCProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53.CfnHostedZone.VPCProperty |
Java | software.amazon.awscdk.services.route53.CfnHostedZone.VPCProperty |
Python | aws_cdk.aws_route53.CfnHostedZone.VPCProperty |
TypeScript | @aws-cdk/aws-route53 » CfnHostedZone » VPCProperty |
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 * as route53 from '@aws-cdk/aws-route53';
const vPCProperty: route53.CfnHostedZone.VPCProperty = {
vpcId: 'vpcId',
vpcRegion: 'vpcRegion',
};
Properties
Name | Type | Description |
---|---|---|
vpc | string | Private hosted zones only: The ID of an Amazon VPC. |
vpc | string | Private hosted zones only: The region that an Amazon VPC was created in. |
vpcId
Type:
string
Private hosted zones only: The ID of an Amazon VPC.
For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.
vpcRegion
Type:
string
Private hosted zones only: The region that an Amazon VPC was created in.
For public hosted zones, omit
VPCs
,VPCId
, andVPCRegion
.