@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.402Z") @Stability(value=Stable) public class ClientVpnEndpoint extends Resource implements IClientVpnEndpoint
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());
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientVpnEndpoint.Builder
A fluent builder for
ClientVpnEndpoint. |
software.amazon.jsii.JsiiObject.InitializationModeIClientVpnEndpoint.Jsii$Default, IClientVpnEndpoint.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ClientVpnEndpoint(software.constructs.Construct scope,
String id,
ClientVpnEndpointProps props) |
protected |
ClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ClientVpnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ClientVpnAuthorizationRule |
addAuthorizationRule(String id,
ClientVpnAuthorizationRuleOptions props)
Adds an authorization rule to this endpoint.
|
ClientVpnRoute |
addRoute(String id,
ClientVpnRouteOptions props)
Adds a route to this endpoint.
|
static IClientVpnEndpoint |
fromEndpointAttributes(software.constructs.Construct scope,
String id,
ClientVpnEndpointAttributes attrs)
Import an existing client VPN endpoint.
|
Connections |
getConnections()
Allows specify security group connections for the endpoint.
|
String |
getEndpointId()
The endpoint ID.
|
software.constructs.IDependable |
getTargetNetworksAssociated()
Dependable that can be depended upon to force target networks associations.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected ClientVpnEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected ClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ClientVpnEndpoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ClientVpnEndpointProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IClientVpnEndpoint fromEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClientVpnEndpointAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public ClientVpnAuthorizationRule addAuthorizationRule(@NotNull String id, @NotNull ClientVpnAuthorizationRuleOptions props)
id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public ClientVpnRoute addRoute(@NotNull String id, @NotNull ClientVpnRouteOptions props)
id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Stable) @NotNull public String getEndpointId()
getEndpointId in interface IClientVpnEndpoint@Stability(value=Stable) @NotNull public software.constructs.IDependable getTargetNetworksAssociated()
getTargetNetworksAssociated in interface IClientVpnEndpointCopyright © 2022. All rights reserved.