modify_vpn_tunnel_options
¶
modify_vpn_tunnel_options(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
55025 55026 55027 55028 55029 55030 55031 55032 55033 55034 55035 55036 55037 55038 55039 55040 55041 55042 55043 55044 55045 55046 55047 55048 55049 55050 55051 55052 55053 55054 55055 55056 55057 55058 55059 55060 55061 55062 55063 55064 55065 55066 55067 55068 55069 55070 55071 55072 55073 55074 55075 55076 55077 55078 55079 55080 55081 55082 55083 55084 55085 55086 55087 55088 55089 55090 55091 55092 55093 55094 55095 55096 55097 55098 55099 55100 55101 55102 55103 55104 55105 55106 55107 55108 55109 55110 55111 55112 55113 55114 | |