Interface CfnClientVpnAuthorizationRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnClientVpnAuthorizationRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.434Z") @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();
 
  • Method Details

    • getClientVpnEndpointId

      @Stability(Stable) @NotNull String getClientVpnEndpointId()
      The ID of the Client VPN endpoint.
    • getTargetNetworkCidr

      @Stability(Stable) @NotNull String getTargetNetworkCidr()
      The IPv4 address range, in CIDR notation, of the network for which access is being authorized.
    • getAccessGroupId

      @Stability(Stable) @Nullable default String getAccessGroupId()
      The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.

      Required if AuthorizeAllGroups is false or not specified.

    • getAuthorizeAllGroups

      @Stability(Stable) @Nullable default Object getAuthorizeAllGroups()
      Indicates whether to grant access to all clients.

      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.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A brief description of the authorization rule.
    • builder

      @Stability(Stable) static CfnClientVpnAuthorizationRuleProps.Builder builder()
      Returns:
      a CfnClientVpnAuthorizationRuleProps.Builder of CfnClientVpnAuthorizationRuleProps