Class ClientVpnAuthorizationRuleProps
Properties for a ClientVpnAuthorizationRule.
Inheritance
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ClientVpnAuthorizationRuleProps : Object, IClientVpnAuthorizationRuleProps, IClientVpnAuthorizationRuleOptions
Syntax (vb)
Public Class ClientVpnAuthorizationRuleProps
Inherits Object
Implements IClientVpnAuthorizationRuleProps, IClientVpnAuthorizationRuleOptions
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;
ClientVpnEndpoint clientVpnEndpoint;
var clientVpnAuthorizationRuleProps = new ClientVpnAuthorizationRuleProps {
Cidr = "cidr",
// the properties below are optional
ClientVpnEndpoint = clientVpnEndpoint,
Description = "description",
GroupId = "groupId"
};
Synopsis
Constructors
ClientVpnAuthorizationRuleProps() |
Properties
Cidr | The IPv4 address range, in CIDR notation, of the network for which access is being authorized. |
ClientVpnEndpoint | The client VPN endpoint to which to add the rule. |
Description | A brief description of the authorization rule. |
GroupId | The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. |
Constructors
ClientVpnAuthorizationRuleProps()
public ClientVpnAuthorizationRuleProps()
Properties
Cidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
public string Cidr { get; set; }
Property Value
System.String
ClientVpnEndpoint
The client VPN endpoint to which to add the rule.
public IClientVpnEndpoint ClientVpnEndpoint { get; set; }
Property Value
Remarks
Default: clientVpnEndpoint is required
Description
A brief description of the authorization rule.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - no description
GroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
public string GroupId { get; set; }
Property Value
System.String
Remarks
Default: - authorize all groups