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

Class: Aws::EC2::Types::VpnConnectionOptionsSpecification

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

Overview

Note:

When passing VpnConnectionOptionsSpecification as input to an Aws::Client method, you can use a vanilla Hash:

{
  enable_acceleration: false,
  static_routes_only: false,
  tunnel_inside_ip_version: "ipv4", # accepts ipv4, ipv6
  tunnel_options: [
    {
      tunnel_inside_cidr: "String",
      tunnel_inside_ipv_6_cidr: "String",
      pre_shared_key: "String",
      phase_1_lifetime_seconds: 1,
      phase_2_lifetime_seconds: 1,
      rekey_margin_time_seconds: 1,
      rekey_fuzz_percentage: 1,
      replay_window_size: 1,
      dpd_timeout_seconds: 1,
      dpd_timeout_action: "String",
      phase_1_encryption_algorithms: [
        {
          value: "String",
        },
      ],
      phase_2_encryption_algorithms: [
        {
          value: "String",
        },
      ],
      phase_1_integrity_algorithms: [
        {
          value: "String",
        },
      ],
      phase_2_integrity_algorithms: [
        {
          value: "String",
        },
      ],
      phase_1_dh_group_numbers: [
        {
          value: 1,
        },
      ],
      phase_2_dh_group_numbers: [
        {
          value: 1,
        },
      ],
      ike_versions: [
        {
          value: "String",
        },
      ],
      startup_action: "String",
    },
  ],
  local_ipv_4_network_cidr: "String",
  remote_ipv_4_network_cidr: "String",
  local_ipv_6_network_cidr: "String",
  remote_ipv_6_network_cidr: "String",
}

Describes VPN connection options.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#enable_accelerationBoolean

Indicate whether to enable acceleration for the VPN connection.

Default: false

Returns:

  • (Boolean)

    Indicate whether to enable acceleration for the VPN connection.

#local_ipv_4_network_cidrString

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: 0.0.0.0/0

Returns:

  • (String)

    The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

#local_ipv_6_network_cidrString

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: ::/0

Returns:

  • (String)

    The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

#remote_ipv_4_network_cidrString

The IPv4 CIDR on the AWS side of the VPN connection.

Default: 0.0.0.0/0

Returns:

  • (String)

    The IPv4 CIDR on the AWS side of the VPN connection.

#remote_ipv_6_network_cidrString

The IPv6 CIDR on the AWS side of the VPN connection.

Default: ::/0

Returns:

  • (String)

    The IPv6 CIDR on the AWS side of the VPN connection.

#static_routes_onlyBoolean

Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to create a static route.

Default: false

Returns:

  • (Boolean)

    Indicate whether the VPN connection uses static routes only.

#tunnel_inside_ip_versionString

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

Default: ipv4

Possible values:

  • ipv4
  • ipv6

Returns:

  • (String)

    Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

#tunnel_optionsArray<Types::VpnTunnelOptionsSpecification>

The tunnel options for the VPN connection.

Returns: