Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

Constant Summary collapse

SENSITIVE =
[:customer_gateway_configuration]

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

The category of the VPN connection. A value of VPN indicates an Amazon Web Services VPN connection. A value of VPN-Classic indicates an Amazon Web Services Classic VPN connection.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#core_network_arnString

The ARN of the core network.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#core_network_attachment_arnString

The ARN of the core network attachment.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  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)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#customer_gateway_idString

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

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#gateway_association_stateString

The current state of the gateway association.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#optionsTypes::VpnConnectionOptions

The VPN connection options.


74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#routesArray<Types::VpnStaticRoute>

The static routes associated with the VPN connection.

Returns:


74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#stateString

The current state of the VPN connection.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the VPN connection.

Returns:


74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#transit_gateway_idString

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

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#typeString

The type of VPN connection.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#vgw_telemetryArray<Types::VgwTelemetry>

Information about the VPN tunnel.

Returns:


74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#vpn_connection_idString

The ID of the VPN connection.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end

#vpn_gateway_idString

The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.

Returns:

  • (String)

74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 74408

class VpnConnection < Struct.new(
  :category,
  :transit_gateway_id,
  :core_network_arn,
  :core_network_attachment_arn,
  :gateway_association_state,
  :options,
  :routes,
  :tags,
  :vgw_telemetry,
  :vpn_connection_id,
  :state,
  :customer_gateway_configuration,
  :type,
  :customer_gateway_id,
  :vpn_gateway_id)
  SENSITIVE = [:customer_gateway_configuration]
  include Aws::Structure
end