Class ClientVpnEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.ec2.ClientVpnEndpoint
- All Implemented Interfaces:
 IConstruct,IDependable,IResource,IClientVpnEndpoint,IConnectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:39.258Z")
@Stability(Stable)
public class ClientVpnEndpoint
extends Resource
implements IClientVpnEndpoint
A client VPN connnection.
 
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
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IClientVpnEndpoint
IClientVpnEndpoint.Jsii$Default, IClientVpnEndpoint.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedClientVpnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) ClientVpnEndpoint(software.constructs.Construct scope, String id, ClientVpnEndpointProps props)  - 
Method Summary
Modifier and TypeMethodDescriptionAdds an authorization rule to this endpoint.addRoute(String id, ClientVpnRouteOptions props) Adds a route to this endpoint.static IClientVpnEndpointfromEndpointAttributes(software.constructs.Construct scope, String id, ClientVpnEndpointAttributes attrs) Import an existing client VPN endpoint.Allows specify security group connections for the endpoint.The endpoint ID.Dependable that can be depended upon to force target networks associations.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Constructor Details
- 
ClientVpnEndpoint
protected ClientVpnEndpoint(software.amazon.jsii.JsiiObjectRef objRef)  - 
ClientVpnEndpoint
protected ClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  - 
ClientVpnEndpoint
@Stability(Stable) public ClientVpnEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClientVpnEndpointProps props) - Parameters:
 scope- This parameter is required.id- This parameter is required.props- This parameter is required.
 
 - 
 - 
Method Details
- 
fromEndpointAttributes
@Stability(Stable) @NotNull public static IClientVpnEndpoint fromEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClientVpnEndpointAttributes attrs) Import an existing client VPN endpoint.- Parameters:
 scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
 - 
addAuthorizationRule
@Stability(Stable) @NotNull public ClientVpnAuthorizationRule addAuthorizationRule(@NotNull String id, @NotNull ClientVpnAuthorizationRuleOptions props) Adds an authorization rule to this endpoint.- Parameters:
 id- This parameter is required.props- This parameter is required.
 - 
addRoute
@Stability(Stable) @NotNull public ClientVpnRoute addRoute(@NotNull String id, @NotNull ClientVpnRouteOptions props) Adds a route to this endpoint.- Parameters:
 id- This parameter is required.props- This parameter is required.
 - 
getConnections
Allows specify security group connections for the endpoint.- Specified by:
 getConnectionsin interfaceIConnectable
 - 
getEndpointId
The endpoint ID.- Specified by:
 getEndpointIdin interfaceIClientVpnEndpoint
 - 
getTargetNetworksAssociated
Dependable that can be depended upon to force target networks associations.- Specified by:
 getTargetNetworksAssociatedin interfaceIClientVpnEndpoint
 
 -