@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.406Z") @Stability(value=Stable) public interface ClientVpnRouteOptions extends software.amazon.jsii.JsiiSerializable
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 and Type | Interface and Description |
|---|---|
static class |
ClientVpnRouteOptions.Builder
A builder for
ClientVpnRouteOptions |
static class |
ClientVpnRouteOptions.Jsii$Proxy
An implementation for
ClientVpnRouteOptions |
| Modifier and Type | Method and Description |
|---|---|
static ClientVpnRouteOptions.Builder |
builder() |
String |
getCidr()
The IPv4 address range, in CIDR notation, of the route destination.
|
default String |
getDescription()
A brief description of the authorization rule.
|
ClientVpnRouteTarget |
getTarget()
The target for the route.
|
@Stability(value=Stable) @NotNull String getCidr()
For example:
@Stability(value=Stable) @NotNull ClientVpnRouteTarget getTarget()
@Stability(value=Stable) @Nullable default String getDescription()
Default: - no description
@Stability(value=Stable) static ClientVpnRouteOptions.Builder builder()
ClientVpnRouteOptions.Builder of ClientVpnRouteOptionsCopyright © 2022. All rights reserved.