Modifies the specified Client VPN endpoint. You can only modify an endpoint's server certificate information, client connection logging information, DNS server, and description. Modifying the DNS server resets existing client connections.
ec2_modify_client_vpn_endpoint(ClientVpnEndpointId,
ServerCertificateArn, ConnectionLogOptions, DnsServers, Description,
DryRun)
[required] The ID of the Client VPN endpoint to modify.
The ARN of the server certificate to be used. The server certificate must be provisioned in AWS Certificate Manager (ACM).
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
A brief description of the Client VPN endpoint.
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
.
svc$modify_client_vpn_endpoint( ClientVpnEndpointId = "string", ServerCertificateArn = "string", ConnectionLogOptions = list( Enabled = TRUE|FALSE, CloudwatchLogGroup = "string", CloudwatchLogStream = "string" ), DnsServers = list( CustomDnsServers = list( "string" ), Enabled = TRUE|FALSE ), Description = "string", DryRun = TRUE|FALSE )