Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Interface DirectConnectGatewayAttachment

Information about an attachment between a Direct Connect gateway and a virtual interface.


  • DirectConnectGatewayAttachment


attachmentState?: string

The state of the attachment. The following are the possible values:

  • attaching: The initial state after a virtual interface is created using the Direct Connect gateway.

  • attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.

  • detaching: The initial state after calling DeleteVirtualInterface.

  • detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.

attachmentType?: string

The type of attachment.

directConnectGatewayId?: string

The ID of the Direct Connect gateway.

stateChangeError?: string

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

virtualInterfaceId?: string

The ID of the virtual interface.

virtualInterfaceOwnerAccount?: string

The ID of the Amazon Web Services account that owns the virtual interface.

virtualInterfaceRegion?: string

The Amazon Web Services Region where the virtual interface is located.