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_options: [
    {
      tunnel_inside_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,
      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",
        },
      ],
    },
  ],
}

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)


50417
50418
50419
50420
50421
50422
50423
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50417

class VpnConnectionOptionsSpecification < Struct.new(
  :enable_acceleration,
  :static_routes_only,
  :tunnel_options)
  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)


50417
50418
50419
50420
50421
50422
50423
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50417

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

#tunnel_optionsArray<Types::VpnTunnelOptionsSpecification>

The tunnel options for the VPN connection.



50417
50418
50419
50420
50421
50422
50423
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50417

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