Class CfnClientVpnAuthorizationRuleProps
Properties for defining a CfnClientVpnAuthorizationRule.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClientVpnAuthorizationRuleProps : ICfnClientVpnAuthorizationRuleProps
Syntax (vb)
Public Class CfnClientVpnAuthorizationRuleProps Implements ICfnClientVpnAuthorizationRuleProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnClientVpnAuthorizationRuleProps = new CfnClientVpnAuthorizationRuleProps {
ClientVpnEndpointId = "clientVpnEndpointId",
TargetNetworkCidr = "targetNetworkCidr",
// the properties below are optional
AccessGroupId = "accessGroupId",
AuthorizeAllGroups = false,
Description = "description"
};
Synopsis
Constructors
| CfnClientVpnAuthorizationRuleProps() | Properties for defining a |
Properties
| AccessGroupId | The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. |
| AuthorizeAllGroups | Indicates whether to grant access to all clients. |
| ClientVpnEndpointId | The ID of the Client VPN endpoint. |
| Description | A brief description of the authorization rule. |
| TargetNetworkCidr | The IPv4 address range, in CIDR notation, of the network for which access is being authorized. |
Constructors
CfnClientVpnAuthorizationRuleProps()
Properties for defining a CfnClientVpnAuthorizationRule.
public CfnClientVpnAuthorizationRuleProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnClientVpnAuthorizationRuleProps = new CfnClientVpnAuthorizationRuleProps {
ClientVpnEndpointId = "clientVpnEndpointId",
TargetNetworkCidr = "targetNetworkCidr",
// the properties below are optional
AccessGroupId = "accessGroupId",
AuthorizeAllGroups = false,
Description = "description"
};
Properties
AccessGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
public string? AccessGroupId { get; set; }
Property Value
Remarks
Required if AuthorizeAllGroups is false or not specified.
AuthorizeAllGroups
Indicates whether to grant access to all clients.
public object? AuthorizeAllGroups { get; set; }
Property Value
Remarks
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.
Type union: either bool or IResolvable
ClientVpnEndpointId
The ID of the Client VPN endpoint.
public string ClientVpnEndpointId { get; set; }
Property Value
Remarks
Description
A brief description of the authorization rule.
public string? Description { get; set; }
Property Value
Remarks
TargetNetworkCidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
public string TargetNetworkCidr { get; set; }