Skip to content

Revoke Client Vpn Ingress

ec2_revoke_client_vpn_ingress R Documentation

Removes an ingress authorization rule from a Client VPN endpoint

Description

Removes an ingress authorization rule from a Client VPN endpoint.

Usage

ec2_revoke_client_vpn_ingress(ClientVpnEndpointId, TargetNetworkCidr,
  AccessGroupId, RevokeAllGroups, DryRun)

Arguments

ClientVpnEndpointId

[required] The ID of the Client VPN endpoint with which the authorization rule is associated.

TargetNetworkCidr

[required] The IPv4 address range, in CIDR notation, of the network for which access is being removed.

AccessGroupId

The ID of the Active Directory group for which to revoke access.

RevokeAllGroups

Indicates whether access should be revoked for all groups for a single TargetNetworkCidr that earlier authorized ingress for all groups using AuthorizeAllGroups. This does not impact other authorization rules that allowed ingress to the same TargetNetworkCidr with a specific AccessGroupId.

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

Value

A list with the following syntax:

list(
  Status = list(
    Code = "authorizing"|"active"|"failed"|"revoking",
    Message = "string"
  )
)

Request syntax

svc$revoke_client_vpn_ingress(
  ClientVpnEndpointId = "string",
  TargetNetworkCidr = "string",
  AccessGroupId = "string",
  RevokeAllGroups = TRUE|FALSE,
  DryRun = TRUE|FALSE
)