Adds 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 AWS or on-premises networks.
ec2_authorize_client_vpn_ingress(ClientVpnEndpointId, TargetNetworkCidr,
AccessGroupId, AuthorizeAllGroups, Description, DryRun)
[required] The ID of the Client VPN endpoint.
[required] The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
The ID of the Active Directory group to grant access.
Indicates whether to grant access to all clients. Use true
to grant
all clients who successfully establish a VPN connection access to the
network.
A brief description of the authorization rule.
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$authorize_client_vpn_ingress( ClientVpnEndpointId = "string", TargetNetworkCidr = "string", AccessGroupId = "string", AuthorizeAllGroups = TRUE|FALSE, Description = "string", DryRun = TRUE|FALSE )