Class CfnHostedZone.VPCProperty
Private hosted zones only: A complex type that contains information about an Amazon VPC.
Inheritance
System.Object
CfnHostedZone.VPCProperty
Implements
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class VPCProperty : Object, CfnHostedZone.IVPCProperty
Syntax (vb)
Public Class VPCProperty
Inherits Object
Implements CfnHostedZone.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
Constructors
VPCProperty() |
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. |
Constructors
VPCProperty()
public VPCProperty()
Properties
VpcId
Private hosted zones only: The ID of an Amazon VPC.
public string VpcId { get; set; }
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.
public string VpcRegion { get; set; }
Property Value
System.String
Remarks
For public hosted zones, omit VPCs
, VPCId
, and VPCRegion
.