v1

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

Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.

get/#Action=ApplySecurityGroupsToClientVpnTargetNetwork

Query parameters

ClientVpnEndpointIdstring required

The ID of the Client VPN endpoint.

VpcIdstring required

The ID of the VPC in which the associated target network is located.

SecurityGroupIdstring[] required

The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.

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>.

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

Response

Success