Skip to content

/AWS1/CL_EC2=>AUTHORIZECLIENTVPNINGRESS()

About AuthorizeClientVpnIngress

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 Amazon Web Services or on-premises networks.

Method Signature

IMPORTING

Required arguments:

IV_CLIENTVPNENDPOINTID TYPE /AWS1/EC2CLIENTVPNENDPOINTID /AWS1/EC2CLIENTVPNENDPOINTID

The ID of the Client VPN endpoint.

IV_TARGETNETWORKCIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 address range, in CIDR notation, of the network for which access is being authorized.

Optional arguments:

IV_ACCESSGROUPID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if AuthorizeAllGroups is false or not specified.

IV_AUTHORIZEALLGROUPS TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether to grant access to all clients. Specify true to grant all clients who successfully establish a VPN connection access to the network. Must be set to true if AccessGroupId is not specified.

IV_DESCRIPTION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A brief description of the authorization rule.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2AUTHCLIVPNINGRSLT /AWS1/CL_EC2AUTHCLIVPNINGRSLT