EC2 / Client / replace_vpn_tunnel
replace_vpn_tunnel#
- EC2.Client.replace_vpn_tunnel(**kwargs)#
- Trigger replacement of specified VPN tunnel. - See also: AWS API Documentation - Request Syntax- response = client.replace_vpn_tunnel( VpnConnectionId='string', VpnTunnelOutsideIpAddress='string', ApplyPendingMaintenance=True|False, DryRun=True|False ) - Parameters:
- VpnConnectionId (string) – - [REQUIRED] - The ID of the Site-to-Site VPN connection. 
- VpnTunnelOutsideIpAddress (string) – - [REQUIRED] - The external IP address of the VPN tunnel. 
- ApplyPendingMaintenance (boolean) – Trigger pending tunnel endpoint maintenance. 
- DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is - DryRunOperation. Otherwise, it is- UnauthorizedOperation.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Return': True|False } - Response Structure- (dict) – - Return (boolean) – - Confirmation of replace tunnel operation.