Use the following steps to modify an existing Client VPN maximum VPN session duration and change the disconnect on session timeout behavior.
Modify an existing maximum VPN session duration for a Client VPN endpoint (console)
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/
. -
In the navigation pane, choose Client VPN endpoints.
-
Select the Client VPN endpoint that you want to modify, choose Actions, and then choose Modify Client VPN Endpoint.
-
For Session timeout hours, choose the desired maximum VPN session duration time in hours.
-
For Disconnect on session timeout, choose if you want to disconnect a session when the maximum session timeout is reached. By default, this is turned off the first time you modify an endpoint.
-
Choose Modify Client VPN endpoint.
Modify an existing maximum VPN session duration for a Client VPN endpoint (AWS CLI)
Use the modify-client-vpn-endpoint