aws ec2 apply-security-groups-to-client-vpn-target-network
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
Options
Name | Description |
---|---|
--client-vpn-endpoint-id <string> | The ID of the Client VPN endpoint |
--vpc-id <string> | The ID of the VPC in which the associated target network is located |
--security-group-ids <list> | 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 |
--dry-run | 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 |
--no-dry-run | 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 |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |