EC2.Client.
get_vpn_connection_device_sample_configuration
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.get_vpn_connection_device_sample_configuration(
VpnConnectionId='string',
VpnConnectionDeviceTypeId='string',
InternetKeyExchangeVersion='string',
DryRun=True|False
)
[REQUIRED]
The VpnConnectionId
specifies the Site-to-Site VPN connection used for the sample configuration.
[REQUIRED]
Device identifier provided by the GetVpnConnectionDeviceTypes
API.
ikev1
or ikev2
.DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'VpnConnectionDeviceSampleConfiguration': 'string'
}
Response Structure
(dict) --
VpnConnectionDeviceSampleConfiguration (string) --
Sample configuration file for the specified customer gateway device.