Adds an ingress authorization rule to a Client VPN endpoint
Source:R/ec2_operations.R
ec2_authorize_client_vpn_ingress.RdAdds an ingress authorization rule to a Client VPN endpoint. Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in Amazon Web Services or on-premises networks.
See https://www.paws-r-sdk.com/docs/ec2_authorize_client_vpn_ingress/ for full documentation.
Usage
ec2_authorize_client_vpn_ingress(
ClientVpnEndpointId,
TargetNetworkCidr,
AccessGroupId = NULL,
AuthorizeAllGroups = NULL,
Description = NULL,
ClientToken = NULL,
DryRun = NULL
)Arguments
- ClientVpnEndpointId
[required] The ID of the Client VPN endpoint.
- TargetNetworkCidr
[required] The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
- AccessGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if
AuthorizeAllGroupsisfalseor not specified.Indicates whether to grant access to all clients. Specify
trueto grant all clients who successfully establish a VPN connection access to the network. Must be set totrueifAccessGroupIdis not specified.- Description
A brief description of the authorization rule.
- ClientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- DryRun
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 isUnauthorizedOperation.