AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The VPC peering connection options.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.PeeringConnectionOptionsRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class PeeringConnectionOptionsRequest

The PeeringConnectionOptionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AllowDnsResolutionFromRemoteVpc System.Boolean

Gets and sets the property AllowDnsResolutionFromRemoteVpc.

If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

Public Property AllowEgressFromLocalClassicLinkToRemoteVpc System.Boolean

Gets and sets the property AllowEgressFromLocalClassicLinkToRemoteVpc.

If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC using ClassicLink to instances in a peer VPC.

Public Property AllowEgressFromLocalVpcToRemoteClassicLink System.Boolean

Gets and sets the property AllowEgressFromLocalVpcToRemoteClassicLink.

If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC using ClassicLink.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5