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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a VPN connection.

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. For more information, see AWS Managed VPN Categories in the Amazon Virtual Private Cloud User Guide.

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#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)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#customer_gateway_idString

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

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#optionsTypes::VpnConnectionOptions

The VPN connection options.



25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#routesArray<Types::VpnStaticRoute>

The static routes associated with the VPN connection.

Returns:



25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#stateString

The current state of the VPN connection.

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the VPN connection.

Returns:



25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#typeString

The type of VPN connection.

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#vgw_telemetryArray<Types::VgwTelemetry>

Information about the VPN tunnel.

Returns:



25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#vpn_connection_idString

The ID of the VPN connection.

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end

#vpn_gateway_idString

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

Returns:

  • (String)


25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25847

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :options,
  :routes,
  :tags,
  :vgw_telemetry)
  include Aws::Structure
end