Class: Aws::EC2::Types::VpnConnectionOptionsSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::VpnConnectionOptionsSpecification
- 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
-
#static_routes_only ⇒ Boolean
Indicate whether the VPN connection uses static routes only.
-
#tunnel_options ⇒ Array<Types::VpnTunnelOptionsSpecification>
The tunnel options for the VPN connection.
Instance Attribute Details
#static_routes_only ⇒ Boolean
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`
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_options ⇒ Array<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 |