Class CfnHostedZone.VPCProperty
Private hosted zones only: A complex type that contains information about an Amazon VPC.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHostedZone.VPCProperty : CfnHostedZone.IVPCProperty
Syntax (vb)
Public Class CfnHostedZone.VPCProperty 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 <code>VPCs</code> , <code>VPCId</code> , and <code>VPCRegion</code> .
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() | Private hosted zones only: A complex type that contains information about an Amazon VPC. |
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()
Private hosted zones only: A complex type that contains information about an Amazon VPC.
public VPCProperty()
Remarks
Route 53 Resolver uses the records in the private hosted zone to route traffic in that VPC.
For public hosted zones, omit <code>VPCs</code> , <code>VPCId</code> , and <code>VPCRegion</code> .
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"
};
Properties
VpcId
Private hosted zones only: The ID of an Amazon VPC.
public string VpcId { get; set; }
Property Value
Remarks
For public hosted zones, omit <code>VPCs</code> , <code>VPCId</code> , and <code>VPCRegion</code> .
VpcRegion
Private hosted zones only: The region that an Amazon VPC was created in.
public string VpcRegion { get; set; }
Property Value
Remarks
For public hosted zones, omit <code>VPCs</code> , <code>VPCId</code> , and <code>VPCRegion</code> .