Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateClientVpnRouteCommand

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.

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);
see

CreateClientVpnRouteCommandInput for command's input shape.

see

CreateClientVpnRouteCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateClientVpnRouteCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions