@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.406Z") @Stability(value=Stable) public abstract class ClientVpnRouteTarget extends software.amazon.jsii.JsiiObject
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))
.build());
// Client-to-client access
endpoint.addRoute("Route", ClientVpnRouteOptions.builder()
.cidr("10.100.0.0/16")
.target(ClientVpnRouteTarget.local())
.build());
| Modifier | Constructor and Description |
|---|---|
protected |
ClientVpnRouteTarget() |
protected |
ClientVpnRouteTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ClientVpnRouteTarget(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getSubnetId()
The subnet ID.
|
static ClientVpnRouteTarget |
local()
Local network.
|
static ClientVpnRouteTarget |
subnet(ISubnet subnet)
Subnet.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ClientVpnRouteTarget(software.amazon.jsii.JsiiObjectRef objRef)
protected ClientVpnRouteTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected ClientVpnRouteTarget()
@Stability(value=Stable) @NotNull public static ClientVpnRouteTarget local()
@Stability(value=Stable) @NotNull public static ClientVpnRouteTarget subnet(@NotNull ISubnet subnet)
The specified subnet must be an existing target network of the client VPN endpoint.
subnet - This parameter is required.@Stability(value=Stable) @NotNull public abstract String getSubnetId()
Copyright © 2022. All rights reserved.