Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyVpnTunnelOptionsCommand

Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. You can modify multiple options for a tunnel in a single request, but you can only modify one tunnel at a time. For more information, see Site-to-Site VPN tunnel options for your Site-to-Site VPN connection in the Amazon Web Services Site-to-Site VPN User Guide.

example

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

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

ModifyVpnTunnelOptionsCommandInput for command's input shape.

see

ModifyVpnTunnelOptionsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyVpnTunnelOptionsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions