Interface ICfnClientVpnAuthorizationRuleProps
Properties for defining a CfnClientVpnAuthorizationRule
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnClientVpnAuthorizationRuleProps
Syntax (vb)
Public Interface 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
Properties
Access |
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. |
Authorize |
Indicates whether to grant access to all clients. |
Client |
The ID of the Client VPN endpoint. |
Description | A brief description of the authorization rule. |
Target |
The IPv4 address range, in CIDR notation, of the network for which access is being authorized. |
Properties
AccessGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
virtual string AccessGroupId { get; }
Property Value
System.
Remarks
Required if AuthorizeAllGroups
is false
or not specified.
AuthorizeAllGroups
Indicates whether to grant access to all clients.
virtual object AuthorizeAllGroups { get; }
Property Value
System.
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.
ClientVpnEndpointId
The ID of the Client VPN endpoint.
string ClientVpnEndpointId { get; }
Property Value
System.
Remarks
Description
A brief description of the authorization rule.
virtual string Description { get; }
Property Value
System.
Remarks
TargetNetworkCidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
string TargetNetworkCidr { get; }
Property Value
System.