modify_vpn_connection_options
async
¶
modify_vpn_connection_options(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
local_ipv4_network_cidr: Optional[String] = None,
remote_ipv4_network_cidr: Optional[String] = None,
local_ipv6_network_cidr: Optional[String] = None,
remote_ipv6_network_cidr: Optional[String] = None,
tunnel_bandwidth: Optional[VpnTunnelBandwidth] = None,
dry_run: Optional[Boolean] = None,
) -> ModifyVpnConnectionOptionsResult
Modifies the connection options for your Site-to-Site VPN connection.
When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon Web Services side do not change, and the tunnel options do not change. Your VPN connection will be temporarily unavailable for a brief period while the VPN connection is updated.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The ID of the Site-to-Site VPN connection.
-
local_ipv4_network_cidr(Optional[String], default:None) –The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
0.0.0.0/0 -
remote_ipv4_network_cidr(Optional[String], default:None) –The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default:
0.0.0.0/0 -
local_ipv6_network_cidr(Optional[String], default:None) –The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
::/0 -
remote_ipv6_network_cidr(Optional[String], default:None) –The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default:
::/0 -
tunnel_bandwidth(Optional[VpnTunnelBandwidth], default:None) –The desired bandwidth specification for the VPN connection.
standardsupports up to 1.25 Gbps per tunnel, whilelargesupports up to 5 Gbps per tunnel. Large bandwidth is only available for VPN connections attached to a transit gateway or to Cloud WAN. The default value isstandard. -
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
55638 55639 55640 55641 55642 55643 55644 55645 55646 55647 55648 55649 55650 55651 55652 55653 55654 55655 55656 55657 55658 55659 55660 55661 55662 55663 55664 55665 55666 55667 55668 55669 55670 55671 55672 55673 55674 55675 55676 55677 55678 55679 55680 55681 55682 55683 55684 55685 55686 55687 55688 55689 55690 55691 55692 55693 55694 55695 55696 55697 55698 55699 55700 55701 55702 55703 55704 55705 55706 55707 55708 55709 55710 55711 55712 55713 55714 55715 55716 55717 55718 55719 55720 55721 | |