Show / Hide Table of Contents

Class ClientVpnAuthorizationRuleProps

Properties for a ClientVpnAuthorizationRule.

Inheritance
object
ClientVpnAuthorizationRuleProps
Implements
IClientVpnAuthorizationRuleProps
IClientVpnAuthorizationRuleOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ClientVpnAuthorizationRuleProps : IClientVpnAuthorizationRuleProps, IClientVpnAuthorizationRuleOptions
Syntax (vb)
Public Class ClientVpnAuthorizationRuleProps 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;
            using Amazon.CDK.Interfaces.EC2;

            IClientVpnEndpointRef clientVpnEndpointRef;

            var clientVpnAuthorizationRuleProps = new ClientVpnAuthorizationRuleProps {
                Cidr = "cidr",

                // the properties below are optional
                ClientVpnEndpoint = clientVpnEndpointRef,
                Description = "description",
                GroupId = "groupId"
            };

Synopsis

Constructors

ClientVpnAuthorizationRuleProps()

Properties for a ClientVpnAuthorizationRule.

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()

Properties for a ClientVpnAuthorizationRule.

public ClientVpnAuthorizationRuleProps()
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;
            using Amazon.CDK.Interfaces.EC2;

            IClientVpnEndpointRef clientVpnEndpointRef;

            var clientVpnAuthorizationRuleProps = new ClientVpnAuthorizationRuleProps {
                Cidr = "cidr",

                // the properties below are optional
                ClientVpnEndpoint = clientVpnEndpointRef,
                Description = "description",
                GroupId = "groupId"
            };

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

string

Remarks

ExampleMetadata: fixture=_generated

ClientVpnEndpoint

The client VPN endpoint to which to add the rule.

public IClientVpnEndpointRef? ClientVpnEndpoint { get; set; }
Property Value

IClientVpnEndpointRef

Remarks

Default: clientVpnEndpoint is required

Description

A brief description of the authorization rule.

public string? Description { get; set; }
Property Value

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

string

Remarks

Default: - authorize all groups

Implements

IClientVpnAuthorizationRuleProps
IClientVpnAuthorizationRuleOptions
Back to top Generated by DocFX