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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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`. Use CreateVpnConnectionRoute to create a static route.

Default: ‘false`

Returns:

  • (Boolean)


37838
37839
37840
37841
37842
# File 'lib/aws-sdk-ec2/types.rb', line 37838

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

#tunnel_optionsArray<Types::VpnTunnelOptionsSpecification>

The tunnel options for the VPN connection.



37838
37839
37840
37841
37842
# File 'lib/aws-sdk-ec2/types.rb', line 37838

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