Interface ClientVpnAuthorizationRuleOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ClientVpnAuthorizationRuleProps
- All Known Implementing Classes:
ClientVpnAuthorizationRuleOptions.Jsii$Proxy
,ClientVpnAuthorizationRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.255Z")
@Stability(Stable)
public interface ClientVpnAuthorizationRuleOptions
extends software.amazon.jsii.JsiiSerializable
Options for a ClientVpnAuthorizationRule.
Example:
ClientVpnEndpoint endpoint = vpc.addClientVpnEndpoint("Endpoint", ClientVpnEndpointOptions.builder() .cidr("10.100.0.0/16") .serverCertificateArn("arn:aws:acm:us-east-1:123456789012:certificate/server-certificate-id") .userBasedAuthentication(ClientVpnUserBasedAuthentication.federated(samlProvider)) .authorizeAllUsersToVpcCidr(false) .build()); endpoint.addAuthorizationRule("Rule", ClientVpnAuthorizationRuleOptions.builder() .cidr("10.0.10.0/32") .groupId("group-id") .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forClientVpnAuthorizationRuleOptions
static final class
An implementation forClientVpnAuthorizationRuleOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getCidr()
The IPv4 address range, in CIDR notation, of the network for which access is being authorized.default String
A brief description of the authorization rule.default String
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
The IPv4 address range, in CIDR notation, of the network for which access is being authorized. -
getDescription
A brief description of the authorization rule.Default: - no description
-
getGroupId
The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.Default: - authorize all groups
-
builder
-