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

Class: Aws::EC2::Types::VpnTunnelOptionsSpecification

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 VpnTunnelOptionsSpecification data as a hash:

{
  tunnel_inside_cidr: "String",
  pre_shared_key: "String",
}

The tunnel options for a VPN connection.

Instance Attribute Summary collapse

Instance Attribute Details

#pre_shared_keyString

The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.

Constraints: Allowed characters are alphanumeric characters and ._. Must be between 8 and 64 characters in length and cannot start with zero (0).

Returns:

  • (String)


31519
31520
31521
31522
31523
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31519

class VpnTunnelOptionsSpecification < Struct.new(
  :tunnel_inside_cidr,
  :pre_shared_key)
  include Aws::Structure
end

#tunnel_inside_cidrString

The range of inside IP addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.

Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following CIDR blocks are reserved and cannot be used:

  • 169.254.0.0/30

  • 169.254.1.0/30

  • 169.254.2.0/30

  • 169.254.3.0/30

  • 169.254.4.0/30

  • 169.254.5.0/30

  • 169.254.169.252/30

Returns:

  • (String)


31519
31520
31521
31522
31523
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31519

class VpnTunnelOptionsSpecification < Struct.new(
  :tunnel_inside_cidr,
  :pre_shared_key)
  include Aws::Structure
end