v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.

get/#Action=ModifyClientVpnEndpoint

Query parameters

ClientVpnEndpointIdstring required

The ID of the Client VPN endpoint to modify.

ServerCertificateArnstring

The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).

Enabledboolean

Indicates whether connection logging is enabled.

CloudwatchLogGroupstring

The name of the CloudWatch Logs log group. Required if connection logging is enabled.

CloudwatchLogStreamstring

The name of the CloudWatch Logs log stream to which the connection data is published.

<p>Information about the client connection logging options.</p> <p>If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:</p> <ul> <li> <p>Client connection requests</p> </li> <li> <p>Client connection results (successful and unsuccessful)</p> </li> <li> <p>Reasons for unsuccessful client connection requests</p> </li> <li> <p>Client connection termination time</p> </li> </ul>
CustomDnsServersstring[]

The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.

Enabledboolean

Indicates whether DNS servers should be used. Specify <code>False</code> to delete the existing DNS servers.

Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.

VpnPortinteger
<p>The port number to assign to the Client VPN endpoint for TCP and UDP traffic.</p> <p>Valid Values: <code>443</code> | <code>1194</code> </p> <p>Default Value: <code>443</code> </p>
Descriptionstring

A brief description of the Client VPN endpoint.

SplitTunnelboolean
<p>Indicates whether the VPN is split-tunnel.</p> <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-tunnel Client VPN endpoint</a> in the <i>Client VPN Administrator Guide</i>.</p>
DryRunboolean

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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

SecurityGroupIdstring[]

The IDs of one or more security groups to apply to the target network.

VpcIdstring

The ID of the VPC to associate with the Client VPN endpoint.

SelfServicePortal'enabled' | 'disabled'

Specify whether to enable the self-service portal for the Client VPN endpoint.

Enabledboolean

Indicates whether client connect options are enabled. The default is <code>false</code> (not enabled).

LambdaFunctionArnstring

The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.

The options for managing connection authorization for new client connections.

SessionTimeoutHoursinteger
<p>The maximum VPN session duration time in hours.</p> <p>Valid values: <code>8 | 10 | 12 | 24</code> </p> <p>Default value: <code>24</code> </p>
Enabledboolean
<p>Enable or disable a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.</p> <p>Valid values: <code>true | false</code> </p> <p>Default value: <code>false</code> </p>
BannerTextstring

Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.

Action'ModifyClientVpnEndpoint' required
Version'2016-11-15' required

Response

Success