Terminate Client VPN Connections

GET {{aws_ec2_base_url}}/?ClientVpnEndpointId&ConnectionId&DryRun&Username&Action=TerminateClientVpnConnections

Terminates active Client VPN endpoint connections.

Request Params

KeyDatatypeRequiredDescription
ClientVpnEndpointIdnullThe ID of the Client VPN endpoint to which the client is connected.
ConnectionIdnullThe ID of the client connection to be terminated.
DryRunnullChecks 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.
UsernamenullThe name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.
Actionstring