aws ec2 modify-vpn-connection
Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--customer-gateway-idThe ID of the customer gateway at your end of the VPN connection.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--transit-gateway-idThe ID of the transit gateway.--vpn-connection-idThe ID of the VPN connection.--vpn-gateway-idThe ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.