AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ClientVpnAuthorizationRule

A client VPN authorization rule.

Import

import { ClientVpnAuthorizationRule } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.ClientVpnAuthorizationRule

Properties

Configuration passed to the constructor as ClientVpnAuthorizationRuleProps.

clientVpnEndpointOptional
IClientVpnEndpointRef

The client VPN endpoint to which to add the rule.

Default: clientVpnEndpoint is required

3 properties inherited from ClientVpnAuthorizationRuleOptions
cidrRequiredinherited from ClientVpnAuthorizationRuleOptions
string

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

descriptionOptionalinherited from ClientVpnAuthorizationRuleOptions
string

A brief description of the authorization rule.

Default: - no description

groupIdOptionalinherited from ClientVpnAuthorizationRuleOptions
string

The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.

Default: - authorize all groups

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic