get_vpn_connection_device_sample_configuration
¶
get_vpn_connection_device_sample_configuration(
*,
config_overrides: Optional[EC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
vpn_connection_device_type_id: Optional[VpnConnectionDeviceTypeId] = None,
internet_key_exchange_version: Optional[String] = None,
sample_type: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> GetVpnConnectionDeviceSampleConfigurationResult
Download an Amazon Web Services-provided sample configuration file to be used with the customer gateway device specified for your Site-to-Site VPN connection.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The
VpnConnectionIdspecifies the Site-to-Site VPN connection used for the sample configuration. -
vpn_connection_device_type_id(Optional[VpnConnectionDeviceTypeId], default:None) –Device identifier provided by the
GetVpnConnectionDeviceTypesAPI. -
internet_key_exchange_version(Optional[String], default:None) –The IKE version to be used in the sample configuration file for your customer gateway device. You can specify one of the following versions:
ikev1orikev2. -
sample_type(Optional[String], default:None) –The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).
-
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
47823 47824 47825 47826 47827 47828 47829 47830 47831 47832 47833 47834 47835 47836 47837 47838 47839 47840 47841 47842 47843 47844 47845 47846 47847 47848 47849 47850 47851 47852 47853 47854 47855 47856 47857 47858 47859 47860 47861 47862 47863 47864 47865 47866 47867 47868 47869 47870 47871 47872 47873 47874 47875 47876 47877 47878 47879 47880 47881 47882 47883 47884 47885 47886 47887 47888 47889 47890 47891 47892 47893 47894 47895 47896 47897 47898 | |