@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.135Z") @Stability(value=Stable) public interface CfnClientVpnRouteProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnClientVpnRouteProps cfnClientVpnRouteProps = CfnClientVpnRouteProps.builder()
.clientVpnEndpointId("clientVpnEndpointId")
.destinationCidrBlock("destinationCidrBlock")
.targetVpcSubnetId("targetVpcSubnetId")
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClientVpnRouteProps.Builder
A builder for
CfnClientVpnRouteProps |
static class |
CfnClientVpnRouteProps.Jsii$Proxy
An implementation for
CfnClientVpnRouteProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClientVpnRouteProps.Builder |
builder() |
String |
getClientVpnEndpointId()
The ID of the Client VPN endpoint to which to add the route.
|
default String |
getDescription()
A brief description of the route.
|
String |
getDestinationCidrBlock()
The IPv4 address range, in CIDR notation, of the route destination.
|
String |
getTargetVpcSubnetId()
The ID of the subnet through which you want to route traffic.
|
@Stability(value=Stable) @NotNull String getClientVpnEndpointId()
@Stability(value=Stable) @NotNull String getDestinationCidrBlock()
0.0.0.0/0@Stability(value=Stable) @NotNull String getTargetVpcSubnetId()
The specified subnet must be an existing target network of the Client VPN endpoint.
Alternatively, if you're adding a route for the local network, specify local .
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) static CfnClientVpnRouteProps.Builder builder()
CfnClientVpnRouteProps.Builder of CfnClientVpnRoutePropsCopyright © 2022. All rights reserved.