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.
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.
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);
ModifyVpnTunnelOptionsCommandInput for command's
input
shape.ModifyVpnTunnelOptionsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.