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.

Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.

Inheritance Hierarchy

System.Object
  Amazon.DirectConnect.Model.DirectConnectGateway

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

Syntax

C#
public class DirectConnectGateway

The DirectConnectGateway type exposes the following members

Constructors

NameDescription
Public Method DirectConnectGateway()

Properties

NameTypeDescription
Public Property AmazonSideAsn System.Int64

Gets and sets the property AmazonSideAsn.

The autonomous system number (ASN) for the Amazon side of the connection.

Public Property DirectConnectGatewayId System.String

Gets and sets the property DirectConnectGatewayId.

The ID of the Direct Connect gateway.

Public Property DirectConnectGatewayName System.String

Gets and sets the property DirectConnectGatewayName.

The name of the Direct Connect gateway.

Public Property DirectConnectGatewayState Amazon.DirectConnect.DirectConnectGatewayState

Gets and sets the property DirectConnectGatewayState.

The state of the Direct Connect gateway. The following are the possible values:

  • pending: The initial state after calling CreateDirectConnectGateway.

  • available: The Direct Connect gateway is ready for use.

  • deleting: The initial state after calling DeleteDirectConnectGateway.

  • deleted: The Direct Connect gateway is deleted and cannot pass traffic.

Public Property OwnerAccount System.String

Gets and sets the property OwnerAccount.

The ID of the Amazon Web Services account that owns the Direct Connect gateway.

Public Property StateChangeError System.String

Gets and sets the property StateChangeError.

The error message if the state of an object failed to advance.

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