Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteVpnConnectionRouteCommand

Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, DeleteVpnConnectionRouteCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, DeleteVpnConnectionRouteCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new DeleteVpnConnectionRouteCommand(input);
const response = await client.send(command);
see

DeleteVpnConnectionRouteCommandInput for command's input shape.

see

DeleteVpnConnectionRouteCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteVpnConnectionRouteCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions