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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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*.

[1]: docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html#vpn-categories

Returns:

  • (String)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :transit_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)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :transit_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)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#optionsTypes::VpnConnectionOptions

The VPN connection options.



37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#routesArray<Types::VpnStaticRoute>

The static routes associated with the VPN connection.

Returns:



37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#stateString

The current state of the VPN connection.

Returns:

  • (String)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#tagsArray<Types::Tag>

Any tags assigned to the VPN connection.

Returns:



37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#transit_gateway_idString

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

Returns:

  • (String)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#typeString

The type of VPN connection.

Returns:

  • (String)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#vgw_telemetryArray<Types::VgwTelemetry>

Information about the VPN tunnel.

Returns:



37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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

#vpn_connection_idString

The ID of the VPN connection.

Returns:

  • (String)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

class VpnConnection < Struct.new(
  :customer_gateway_configuration,
  :customer_gateway_id,
  :category,
  :state,
  :type,
  :vpn_connection_id,
  :vpn_gateway_id,
  :transit_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)


37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
# File 'lib/aws-sdk-ec2/types.rb', line 37505

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