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 CreateDirectConnectGatewayAssociation operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectConnect.AmazonDirectConnectRequest
      Amazon.DirectConnect.Model.CreateDirectConnectGatewayAssociationRequest

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

Syntax

C#
public class CreateDirectConnectGatewayAssociationRequest : AmazonDirectConnectRequest
         IAmazonWebServiceRequest

The CreateDirectConnectGatewayAssociationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AddAllowedPrefixesToDirectConnectGateway System.Collections.Generic.List<Amazon.DirectConnect.Model.RouteFilterPrefix>

Gets and sets the property AddAllowedPrefixesToDirectConnectGateway.

The Amazon VPC prefixes to advertise to the Direct Connect gateway

This parameter is required when you create an association to a transit gateway.

For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

Public Property DirectConnectGatewayId System.String

Gets and sets the property DirectConnectGatewayId.

The ID of the Direct Connect gateway.

Public Property GatewayId System.String

Gets and sets the property GatewayId.

The ID of the virtual private gateway or transit gateway.

Public Property VirtualGatewayId System.String

Gets and sets the property VirtualGatewayId.

The ID of the virtual private gateway.

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