Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the
available destination network routes. Each route in the route table specifies the path for traffic to specific resources or networks.
example
Use a bare-bones client and the command you need to make an API call.
Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the available destination network routes. Each route in the route table specifies the path for traffic to specific resources or networks.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, CreateClientVpnRouteCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, CreateClientVpnRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new CreateClientVpnRouteCommand(input); const response = await client.send(command);
CreateClientVpnRouteCommandInput for command's
input
shape.CreateClientVpnRouteCommandOutput for command's
response
shape.config for EC2Client's
config
shape.