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

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:

{
  static_routes_only: false,
  tunnel_options: [
    {
      tunnel_inside_cidr: "String",
      pre_shared_key: "String",
    },
  ],
}

Describes VPN connection options.

Instance Attribute Summary collapse

Instance Attribute Details

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

Default: false

Returns:

  • (Boolean)


25891
25892
25893
25894
25895
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25891

class VpnConnectionOptionsSpecification < Struct.new(
  :static_routes_only,
  :tunnel_options)
  include Aws::Structure
end

#tunnel_optionsArray<Types::VpnTunnelOptionsSpecification>

The tunnel options for the VPN connection.



25891
25892
25893
25894
25895
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25891

class VpnConnectionOptionsSpecification < Struct.new(
  :static_routes_only,
  :tunnel_options)
  include Aws::Structure
end