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

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

Overview

Note:

When making an API call, you may pass VpnConnectionOptionsSpecification data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enable_accelerationBoolean

Indicate whether to enable acceleration for the VPN connection.

Default: false

Returns:

  • (Boolean)


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

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


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

#local_ipv_6_network_cidrString

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

Default: ::/0

Returns:

  • (String)


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

#remote_ipv_4_network_cidrString

The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

Default: 0.0.0.0/0

Returns:

  • (String)


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

#remote_ipv_6_network_cidrString

The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

Default: ::/0

Returns:

  • (String)


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

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


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

#tunnel_inside_ip_versionString

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

Default: ipv4

Returns:

  • (String)


67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end

#tunnel_optionsArray<Types::VpnTunnelOptionsSpecification>

The tunnel options for the VPN connection.



67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67504

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_inside_ip_version,
  :tunnel_options,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr)
  SENSITIVE = []
  include Aws::Structure
end