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

Class: Aws::EC2::Types::VpnConnection

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

The category of the VPN connection. A value of VPN indicates an AWS VPN connection. A value of VPN-Classic indicates an AWS Classic VPN connection.

Returns:

  • (String)

    The category of the VPN connection.

#customer_gateway_configurationString

The configuration information for the VPN connection\'s customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it\'s present in the DescribeVpnConnections response only if the VPN connection is in the pending or available state.

Returns:

  • (String)

    The configuration information for the VPN connection\'s customer gateway (in the native XML format).

#customer_gateway_idString

The ID of the customer gateway at your end of the VPN connection.

Returns:

  • (String)

    The ID of the customer gateway at your end of the VPN connection.

#optionsTypes::VpnConnectionOptions

The VPN connection options.

Returns:

#routesArray<Types::VpnStaticRoute>

The static routes associated with the VPN connection.

Returns:

#stateString

The current state of the VPN connection.

Possible values:

  • pending
  • available
  • deleting
  • deleted

Returns:

  • (String)

    The current state of the VPN connection.

#tagsArray<Types::Tag>

Any tags assigned to the VPN connection.

Returns:

  • (Array<Types::Tag>)

    Any tags assigned to the VPN connection.

#transit_gateway_idString

The ID of the transit gateway associated with the VPN connection.

Returns:

  • (String)

    The ID of the transit gateway associated with the VPN connection.

#typeString

The type of VPN connection.

Possible values:

  • ipsec.1

Returns:

  • (String)

    The type of VPN connection.

#vgw_telemetryArray<Types::VgwTelemetry>

Information about the VPN tunnel.

Returns:

#vpn_connection_idString

The ID of the VPN connection.

Returns:

  • (String)

    The ID of the VPN connection.

#vpn_gateway_idString

The ID of the virtual private gateway at the AWS side of the VPN connection.

Returns:

  • (String)

    The ID of the virtual private gateway at the AWS side of the VPN connection.