There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DeleteVpnConnectionRoute
with a CLI
The following code examples show how to use DeleteVpnConnectionRoute
.
- AWS CLI
-
To delete a static route from a VPN connection
This example deletes the specified static route from the specified VPN connection. If the command succeeds, no output is returned.
Command:
aws ec2 delete-vpn-connection-route --vpn-connection-id
vpn-40f41529
--destination-cidr-block11.12.0.0/16
-
For API details, see DeleteVpnConnectionRoute
in AWS CLI Command Reference.
-