VpnConnectionOptions¶
-
class
aws_cdk.aws_ec2.
VpnConnectionOptions
(*, ip, asn=None, static_routes=None, tunnel_options=None)¶ Bases:
object
- Parameters
ip (
str
) – The ip address of the customer gateway.asn (
Union
[int
,float
,None
]) – The ASN of the customer gateway. Default: 65000static_routes (
Optional
[List
[str
]]) – The static routes to be routed from the VPN gateway to the customer gateway. Default: Dynamic routing (BGP)tunnel_options (
Optional
[List
[VpnTunnelOption
]]) – The tunnel options for the VPN connection. At most two elements (one per tunnel). Duplicates not allowed. Default: Amazon generated tunnel options
Attributes
-
asn
¶ The ASN of the customer gateway.
- Default
65000
- Return type
Union
[int
,float
,None
]
-
ip
¶ The ip address of the customer gateway.
- Return type
str
-
static_routes
¶ The static routes to be routed from the VPN gateway to the customer gateway.
- Default
Dynamic routing (BGP)
- Return type
Optional
[List
[str
]]
-
tunnel_options
¶ The tunnel options for the VPN connection.
At most two elements (one per tunnel). Duplicates not allowed.
- Default
Amazon generated tunnel options
- Return type
Optional
[List
[VpnTunnelOption
]]