Skip to content

/AWS1/CL_EC2=>GETVPNCONNDEVICESAMPLECONF()

About GetVpnConnectionDeviceSampleConfiguration

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.

Method Signature

IMPORTING

Required arguments:

IV_VPNCONNECTIONID TYPE /AWS1/EC2VPNCONNECTIONID /AWS1/EC2VPNCONNECTIONID

The VpnConnectionId specifies the Site-to-Site VPN connection used for the sample configuration.

IV_VPNCONNECTIONDEVICETYPEID TYPE /AWS1/EC2VPNCONNDEVICETYPEID /AWS1/EC2VPNCONNDEVICETYPEID

Device identifier provided by the GetVpnConnectionDeviceTypes API.

Optional arguments:

IV_INTERNETKEYEXCHANGEVRS TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IKE version to be used in the sample configuration file for your customer gateway device. You can specify one of the following versions: ikev1 or ikev2.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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 is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETVPNCXNDEVSAMP01 /AWS1/CL_EC2GETVPNCXNDEVSAMP01