Class ClientVpnRouteTarget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.ClientVpnRouteTarget
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.270Z")
@Stability(Stable)
public abstract class ClientVpnRouteTarget
extends software.amazon.jsii.JsiiObject
Target for a client VPN route.
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());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
ClientVpnRouteTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ClientVpnRouteTarget
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionabstract String
The subnet ID.static ClientVpnRouteTarget
local()
Local network.static ClientVpnRouteTarget
Subnet.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ClientVpnRouteTarget
protected ClientVpnRouteTarget(software.amazon.jsii.JsiiObjectRef objRef) -
ClientVpnRouteTarget
protected ClientVpnRouteTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ClientVpnRouteTarget
@Stability(Stable) protected ClientVpnRouteTarget()
-
-
Method Details
-
local
Local network. -
subnet
Subnet.The specified subnet must be an existing target network of the client VPN endpoint.
- Parameters:
subnet
- This parameter is required.
-
getSubnetId
The subnet ID.
-