aws-cdk-lib.aws_ec2.ClientVpnAuthorizationRuleProps

interface ClientVpnAuthorizationRuleProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.ClientVpnAuthorizationRuleProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#ClientVpnAuthorizationRuleProps
Javasoftware.amazon.awscdk.services.ec2.ClientVpnAuthorizationRuleProps
Pythonaws_cdk.aws_ec2.ClientVpnAuthorizationRuleProps
TypeScript (source)aws-cdk-lib » aws_ec2 » ClientVpnAuthorizationRuleProps

Properties for a ClientVpnAuthorizationRule.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const clientVpnEndpoint: ec2.ClientVpnEndpoint;
const clientVpnAuthorizationRuleProps: ec2.ClientVpnAuthorizationRuleProps = {
  cidr: 'cidr',

  // the properties below are optional
  clientVpnEndpoint: clientVpnEndpoint,
  description: 'description',
  groupId: 'groupId',
};

Properties

NameTypeDescription
cidrstringThe IPv4 address range, in CIDR notation, of the network for which access is being authorized.
clientVpnEndpoint?IClientVpnEndpointThe client VPN endpoint to which to add the rule.
description?stringA brief description of the authorization rule.
groupId?stringThe ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.

cidr

Type: string

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


clientVpnEndpoint?

Type: IClientVpnEndpoint (optional, default: clientVpnEndpoint is required)

The client VPN endpoint to which to add the rule.


description?

Type: string (optional, default: no description)

A brief description of the authorization rule.


groupId?

Type: string (optional, default: authorize all groups)

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