Interface CfnClientVpnAuthorizationRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClientVpnAuthorizationRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:36.718Z")
@Stability(Stable)
public interface CfnClientVpnAuthorizationRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnClientVpnAuthorizationRule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnClientVpnAuthorizationRuleProps cfnClientVpnAuthorizationRuleProps = CfnClientVpnAuthorizationRuleProps.builder()
.clientVpnEndpointId("clientVpnEndpointId")
.targetNetworkCidr("targetNetworkCidr")
// the properties below are optional
.accessGroupId("accessGroupId")
.authorizeAllGroups(false)
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClientVpnAuthorizationRulePropsstatic final classAn implementation forCfnClientVpnAuthorizationRuleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.default ObjectIndicates whether to grant access to all clients.The ID of the Client VPN endpoint.default StringA brief description of the authorization rule.The IPv4 address range, in CIDR notation, of the network for which access is being authorized.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientVpnEndpointId
The ID of the Client VPN endpoint.- See Also:
-
getTargetNetworkCidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.- See Also:
-
getAccessGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.Required if
AuthorizeAllGroupsisfalseor not specified.- See Also:
-
getAuthorizeAllGroups
Indicates whether to grant access to all clients.Specify
trueto grant all clients who successfully establish a VPN connection access to the network. Must be set totrueifAccessGroupIdis not specified.Returns union: either
BooleanorIResolvable- See Also:
-
getDescription
A brief description of the authorization rule.- See Also:
-
builder
-