Class CfnClientVpnAuthorizationRule
Specifies an ingress authorization rule to add to a Client VPN endpoint.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnClientVpnAuthorizationRule : CfnResource, IInspectable, IClientVpnAuthorizationRuleRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnClientVpnAuthorizationRule Inherits CfnResource Implements IInspectable, IClientVpnAuthorizationRuleRef, IConstruct, IDependable, IEnvironmentAware
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
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 cfnClientVpnAuthorizationRule = new CfnClientVpnAuthorizationRule(this, "MyCfnClientVpnAuthorizationRule", new CfnClientVpnAuthorizationRuleProps {
ClientVpnEndpointId = "clientVpnEndpointId",
TargetNetworkCidr = "targetNetworkCidr",
// the properties below are optional
AccessGroupId = "accessGroupId",
AuthorizeAllGroups = false,
Description = "description"
});
Synopsis
Constructors
| CfnClientVpnAuthorizationRule(Construct, string, ICfnClientVpnAuthorizationRuleProps) | Create a new |
Properties
| AccessGroupId | The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. |
| AttrId | Specifies an ingress authorization rule to add to a Client VPN endpoint. |
| AuthorizeAllGroups | Indicates whether to grant access to all clients. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Specifies an ingress authorization rule to add to a Client VPN endpoint. |
| ClientVpnAuthorizationRuleRef | A reference to a ClientVpnAuthorizationRule resource. |
| 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. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnClientVpnAuthorizationRule(object) | Checks whether the given object is a CfnClientVpnAuthorizationRule. |
| RenderProperties(IDictionary<string, object>) | Specifies an ingress authorization rule to add to a Client VPN endpoint. |
Constructors
CfnClientVpnAuthorizationRule(Construct, string, ICfnClientVpnAuthorizationRuleProps)
Create a new AWS::EC2::ClientVpnAuthorizationRule.
public CfnClientVpnAuthorizationRule(Construct scope, string id, ICfnClientVpnAuthorizationRuleProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnClientVpnAuthorizationRuleProps
Resource properties.
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
Properties
AccessGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
public virtual string? AccessGroupId { get; set; }
Property Value
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
AttrId
Specifies an ingress authorization rule to add to a Client VPN endpoint.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
AuthorizeAllGroups
Indicates whether to grant access to all clients.
public virtual object? AuthorizeAllGroups { get; set; }
Property Value
Remarks
Type union: either bool or IResolvable
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
CfnProperties
Specifies an ingress authorization rule to add to a Client VPN endpoint.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
ClientVpnAuthorizationRuleRef
A reference to a ClientVpnAuthorizationRule resource.
public virtual IClientVpnAuthorizationRuleReference ClientVpnAuthorizationRuleRef { get; }
Property Value
IClientVpnAuthorizationRuleReference
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
ClientVpnEndpointId
The ID of the Client VPN endpoint.
public virtual string ClientVpnEndpointId { get; set; }
Property Value
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
Description
A brief description of the authorization rule.
public virtual string? Description { get; set; }
Property Value
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
TargetNetworkCidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
public virtual string TargetNetworkCidr { get; set; }
Property Value
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
IsCfnClientVpnAuthorizationRule(object)
Checks whether the given object is a CfnClientVpnAuthorizationRule.
public static bool IsCfnClientVpnAuthorizationRule(object x)
Parameters
- x object
Returns
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies an ingress authorization rule to add to a Client VPN endpoint.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Ingress authorization rules act as firewall rules that grant access to networks. You must configure ingress authorization rules to enable clients to access resources in AWS or on-premises networks.
CloudformationResource: AWS::EC2::ClientVpnAuthorizationRule
ExampleMetadata: fixture=_generated