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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DirectConnect::Types::DirectConnectGateway

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#amazon_side_asnInteger

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

Returns:

  • (Integer)

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

#direct_connect_gateway_idString

The ID of the Direct Connect gateway.

Returns:

  • (String)

    The ID of the Direct Connect gateway.

#direct_connect_gateway_nameString

The name of the Direct Connect gateway.

Returns:

  • (String)

    The name of the Direct Connect gateway.

#direct_connect_gateway_stateString

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.

    Possible values:

    • pending
    • available
    • deleting
    • deleted

Returns:

  • (String)

    The state of the Direct Connect gateway.

#owner_accountString

The ID of the AWS account that owns the Direct Connect gateway.

Returns:

  • (String)

    The ID of the AWS account that owns the Direct Connect gateway.

#state_change_errorString

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

Returns:

  • (String)

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