Interface CfnHostedZone.IVPCProperty
Private hosted zones only: A complex type that contains information about an Amazon VPC.
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVPCProperty
Syntax (vb)
Public Interface IVPCProperty
Remarks
Route 53 Resolver uses the records in the private hosted zone to route traffic in that VPC.
For public hosted zones, omit VPCs
, VPCId
, and VPCRegion
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
var vPCProperty = new VPCProperty {
VpcId = "vpcId",
VpcRegion = "vpcRegion"
};
Synopsis
Properties
VpcId | Private hosted zones only: The ID of an Amazon VPC. |
VpcRegion | Private hosted zones only: The region that an Amazon VPC was created in. |
Properties
VpcId
Private hosted zones only: The ID of an Amazon VPC.
string VpcId { get; }
Property Value
System.String
Remarks
For public hosted zones, omit VPCs
, VPCId
, and VPCRegion
.
VpcRegion
Private hosted zones only: The region that an Amazon VPC was created in.
string VpcRegion { get; }
Property Value
System.String
Remarks
For public hosted zones, omit VPCs
, VPCId
, and VPCRegion
.