modify_vpn_connection_options
¶
modify_vpn_connection_options(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
54875 54876 54877 54878 54879 54880 54881 54882 54883 54884 54885 54886 54887 54888 54889 54890 54891 54892 54893 54894 54895 54896 54897 54898 54899 54900 54901 54902 54903 54904 54905 54906 54907 54908 54909 54910 54911 54912 54913 54914 54915 54916 54917 54918 54919 54920 54921 54922 54923 54924 54925 54926 54927 54928 54929 54930 54931 54932 54933 54934 54935 54936 54937 54938 54939 54940 54941 54942 54943 54944 54945 54946 54947 54948 54949 54950 54951 54952 54953 54954 54955 54956 54957 | |