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.
Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateDirectConnectGatewayAssociationAsync.
Namespace: Amazon.DirectConnect
Assembly: AWSSDK.DirectConnect.dll
Version: 3.x.y.z
public virtual CreateDirectConnectGatewayAssociationResponse CreateDirectConnectGatewayAssociation( CreateDirectConnectGatewayAssociationRequest request )
Container for the necessary parameters to execute the CreateDirectConnectGatewayAssociation service method.
Exception | Condition |
---|---|
DirectConnectClientException | One or more parameters are not valid. |
DirectConnectServerException | A server-side error occurred. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5