get_active_vpn_tunnel_status
async
¶
get_active_vpn_tunnel_status(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
vpn_tunnel_outside_ip_address: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> GetActiveVpnTunnelStatusResult
Returns the currently negotiated security parameters for an active VPN tunnel, including IKE version, DH groups, encryption algorithms, and integrity algorithms.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The ID of the VPN connection for which to retrieve the active tunnel status.
-
vpn_tunnel_outside_ip_address(Optional[String], default:None) –The external IP address of the VPN tunnel for which to retrieve the active status.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
42994 42995 42996 42997 42998 42999 43000 43001 43002 43003 43004 43005 43006 43007 43008 43009 43010 43011 43012 43013 43014 43015 43016 43017 43018 43019 43020 43021 43022 43023 43024 43025 43026 43027 43028 43029 43030 43031 43032 43033 43034 43035 43036 43037 43038 43039 43040 43041 43042 43043 43044 43045 43046 43047 | |