Class CfnClientVpnAuthorizationRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnClientVpnAuthorizationRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnAuthorizationRulePropsMixin>
- Enclosing class:
CfnClientVpnAuthorizationRulePropsMixin
@Stability(Stable)
public static final class CfnClientVpnAuthorizationRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnAuthorizationRulePropsMixin>
A fluent builder for
CfnClientVpnAuthorizationRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccessGroupId(String accessGroupId) The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.authorizeAllGroups(Boolean authorizeAllGroups) Indicates whether to grant access to all clients.authorizeAllGroups(IResolvable authorizeAllGroups) Indicates whether to grant access to all clients.build()clientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.create()create(CfnPropertyMixinOptions options) description(String description) A brief description of the authorization rule.targetNetworkCidr(String targetNetworkCidr) The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
-
Method Details
-
create
@Stability(Stable) public static CfnClientVpnAuthorizationRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClientVpnAuthorizationRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClientVpnAuthorizationRulePropsMixin.Builder.
-
accessGroupId
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder accessGroupId(String accessGroupId) 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.- Parameters:
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.- Returns:
this- See Also:
-
authorizeAllGroups
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder authorizeAllGroups(Boolean authorizeAllGroups) 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.- Parameters:
authorizeAllGroups- Indicates whether to grant access to all clients. This parameter is required.- Returns:
this- See Also:
-
authorizeAllGroups
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder authorizeAllGroups(IResolvable authorizeAllGroups) 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.- Parameters:
authorizeAllGroups- Indicates whether to grant access to all clients. This parameter is required.- Returns:
this- See Also:
-
clientVpnEndpointId
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder clientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.- Parameters:
clientVpnEndpointId- The ID of the Client VPN endpoint. This parameter is required.- Returns:
this- See Also:
-
description
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder description(String description) A brief description of the authorization rule.- Parameters:
description- A brief description of the authorization rule. This parameter is required.- Returns:
this- See Also:
-
targetNetworkCidr
@Stability(Stable) public CfnClientVpnAuthorizationRulePropsMixin.Builder targetNetworkCidr(String targetNetworkCidr) The IPv4 address range, in CIDR notation, of the network for which access is being authorized.- Parameters:
targetNetworkCidr- The IPv4 address range, in CIDR notation, of the network for which access is being authorized. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnAuthorizationRulePropsMixin>- Returns:
- a newly built instance of
CfnClientVpnAuthorizationRulePropsMixin.
-