modify_vpn_tunnel_options
async
¶
modify_vpn_tunnel_options(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
vpn_tunnel_outside_ip_address: Optional[String] = None,
tunnel_options: Optional[ModifyVpnTunnelOptionsSpecification] = None,
dry_run: Optional[Boolean] = None,
skip_tunnel_replacement: Optional[Boolean] = None,
pre_shared_key_storage: Optional[String] = None,
) -> ModifyVpnTunnelOptionsResult
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.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The ID of the Amazon Web Services Site-to-Site VPN connection.
-
vpn_tunnel_outside_ip_address(Optional[String], default:None) –The external IP address of the VPN tunnel.
-
tunnel_options(Optional[ModifyVpnTunnelOptionsSpecification], default:None) –The tunnel options to modify.
-
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. -
skip_tunnel_replacement(Optional[Boolean], default:None) –Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off
EnableTunnelLifecycleControl.Valid values:
True|False -
pre_shared_key_storage(Optional[String], default:None) –Specifies the storage mode for the pre-shared key (PSK). Valid values are
Standard(stored in Site-to-Site VPN service) orSecretsManager(stored in Amazon Web Services Secrets Manager).
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
55790 55791 55792 55793 55794 55795 55796 55797 55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809 55810 55811 55812 55813 55814 55815 55816 55817 55818 55819 55820 55821 55822 55823 55824 55825 55826 55827 55828 55829 55830 55831 55832 55833 55834 55835 55836 55837 55838 55839 55840 55841 55842 55843 55844 55845 55846 55847 55848 55849 55850 55851 55852 55853 55854 55855 55856 55857 55858 55859 55860 55861 55862 55863 55864 55865 55866 55867 55868 55869 55870 55871 55872 55873 55874 55875 55876 55877 55878 55879 55880 | |