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.

Container for the parameters to the CreateVpnGateway operation. Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.CreateVpnGatewayRequest

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

Syntax

C#
public class CreateVpnGatewayRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The CreateVpnGatewayRequest type exposes the following members

Constructors

NameDescription
Public Method CreateVpnGatewayRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method CreateVpnGatewayRequest(GatewayType)

Instantiates CreateVpnGatewayRequest with the parameterized properties

Properties

NameTypeDescription
Public Property AmazonSideAsn System.Int64

Gets and sets the property AmazonSideAsn.

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.

Default: 64512

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone for the virtual private gateway.

Public Property TagSpecifications System.Collections.Generic.List<Amazon.EC2.Model.TagSpecification>

Gets and sets the property TagSpecifications.

The tags to apply to the virtual private gateway.

Public Property Type Amazon.EC2.GatewayType

Gets and sets the property Type.

The type of VPN connection this virtual private gateway supports.

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