VpnTunnelOption

class aws_cdk.aws_ec2.VpnTunnelOption(*, pre_shared_key=None, tunnel_inside_cidr=None)

Bases: object

__init__(*, pre_shared_key=None, tunnel_inside_cidr=None)
Parameters
  • pre_shared_key (Optional[str]) – The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway. Allowed characters are alphanumeric characters and ._. Must be between 8 and 64 characters in length and cannot start with zero (0). Default: an Amazon generated pre-shared key

  • tunnel_inside_cidr (Optional[str]) – 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. A size /30 CIDR block from the 169.254.0.0/16 range. Default: an Amazon generated inside IP CIDR

Attributes

pre_shared_key

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

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

default :default: an Amazon generated pre-shared key

Return type

Optional[str]

tunnel_inside_cidr

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. A size /30 CIDR block from the 169.254.0.0/16 range.

default :default: an Amazon generated inside IP CIDR

Return type

Optional[str]