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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class CreateVpnGatewayRequest : AmazonEC2Request IAmazonWebServiceRequest
The CreateVpnGatewayRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateVpnGatewayRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
![]() |
CreateVpnGatewayRequest(GatewayType) |
Instantiates CreateVpnGatewayRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
![]() |
AmazonSideAsn | System.Nullable<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 |
![]() |
AvailabilityZone | System.String |
Gets and sets the property AvailabilityZone. The Availability Zone for the virtual private gateway. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
![]() |
TagSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.TagSpecification> |
Gets and sets the property TagSpecifications. The tags to apply to the virtual private gateway. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
Type | Amazon.EC2.GatewayType |
Gets and sets the property Type. The type of VPN connection this virtual private gateway supports. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer