public static final class CfnClientVpnAuthorizationRule.Builder
extends java.lang.Object
CfnClientVpnAuthorizationRule
.Modifier and Type | Method and Description |
---|---|
CfnClientVpnAuthorizationRule.Builder |
accessGroupId(java.lang.String accessGroupId)
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
|
CfnClientVpnAuthorizationRule.Builder |
authorizeAllGroups(java.lang.Boolean authorizeAllGroups)
Indicates whether to grant access to all clients.
|
CfnClientVpnAuthorizationRule.Builder |
authorizeAllGroups(IResolvable authorizeAllGroups)
Indicates whether to grant access to all clients.
|
CfnClientVpnAuthorizationRule |
build() |
CfnClientVpnAuthorizationRule.Builder |
clientVpnEndpointId(java.lang.String clientVpnEndpointId)
The ID of the Client VPN endpoint.
|
static CfnClientVpnAuthorizationRule.Builder |
create(Construct scope,
java.lang.String id) |
CfnClientVpnAuthorizationRule.Builder |
description(java.lang.String description)
A brief description of the authorization rule.
|
CfnClientVpnAuthorizationRule.Builder |
targetNetworkCidr(java.lang.String targetNetworkCidr)
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
|
public static CfnClientVpnAuthorizationRule.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnClientVpnAuthorizationRule.Builder
.public CfnClientVpnAuthorizationRule.Builder clientVpnEndpointId(java.lang.String clientVpnEndpointId)
clientVpnEndpointId
- The ID of the Client VPN endpoint. This parameter is required.this
public CfnClientVpnAuthorizationRule.Builder targetNetworkCidr(java.lang.String targetNetworkCidr)
targetNetworkCidr
- The IPv4 address range, in CIDR notation, of the network for which access is being authorized. This parameter is required.this
public CfnClientVpnAuthorizationRule.Builder accessGroupId(java.lang.String accessGroupId)
Required if AuthorizeAllGroups
is false
or not specified.
accessGroupId
- The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. This parameter is required.this
public CfnClientVpnAuthorizationRule.Builder authorizeAllGroups(java.lang.Boolean authorizeAllGroups)
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.
authorizeAllGroups
- Indicates whether to grant access to all clients. This parameter is required.this
public CfnClientVpnAuthorizationRule.Builder authorizeAllGroups(IResolvable authorizeAllGroups)
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.
authorizeAllGroups
- Indicates whether to grant access to all clients. This parameter is required.this
public CfnClientVpnAuthorizationRule.Builder description(java.lang.String description)
description
- A brief description of the authorization rule. This parameter is required.this
public CfnClientVpnAuthorizationRule build()