interface ClientVpnAuthorizationRuleProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.ClientVpnAuthorizationRuleProps |
Java | software.amazon.awscdk.services.ec2.ClientVpnAuthorizationRuleProps |
Python | aws_cdk.aws_ec2.ClientVpnAuthorizationRuleProps |
TypeScript (source) | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
declare const clientVpnEndpoint: ec2.ClientVpnEndpoint;
const clientVpnAuthorizationRuleProps: ec2.ClientVpnAuthorizationRuleProps = {
cidr: 'cidr',
// the properties below are optional
clientVpnEndoint: clientVpnEndpoint,
clientVpnEndpoint: clientVpnEndpoint,
description: 'description',
groupId: 'groupId',
};
Properties
Name | Type | Description |
---|---|---|
cidr | string | The IPv4 address range, in CIDR notation, of the network for which access is being authorized. |
client | IClient | The client VPN endpoint to which to add the rule. |
client | IClient | The client VPN endpoint to which to add the rule. |
description? | string | A brief description of the authorization rule. |
group | string | The 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.
clientVpnEndoint?
⚠️ Deprecated: Use clientVpnEndpoint
instead
Type:
IClient
(optional, default: clientVpnEndpoint is required)
The client VPN endpoint to which to add the rule.
clientVpnEndpoint?
Type:
IClient
(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.