AWS::EC2::ClientVpnAuthorizationRuleSpecifies an ingress authorization rule to add 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.
import { CfnClientVpnAuthorizationRule } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnClientVpnAuthorizationRuleConfiguration passed to the constructor as CfnClientVpnAuthorizationRuleProps.
clientVpnEndpointIdRequiredstringThe ID of the Client VPN endpoint.
targetNetworkCidrRequiredstringThe IPv4 address range, in CIDR notation, of the network for which access is being authorized.
accessGroupIdOptionalstringThe 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.
authorizeAllGroupsOptionalboolean | IResolvableIndicates 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.
descriptionOptionalstringA brief description of the authorization rule.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::ClientVpnAuthorizationRule