Skip to content

/AWS1/CL_EC2=>REPLACEVPNTUNNEL()

About ReplaceVpnTunnel

Trigger replacement of specified VPN tunnel.

Method Signature

IMPORTING

Required arguments:

IV_VPNCONNECTIONID TYPE /AWS1/EC2VPNCONNECTIONID /AWS1/EC2VPNCONNECTIONID

The ID of the Site-to-Site VPN connection.

IV_VPNTUNNELOUTSIDEIPADDRESS TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The external IP address of the VPN tunnel.

Optional arguments:

IV_APPLYPENDINGMAINTENANCE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Trigger pending tunnel endpoint maintenance.

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_EC2RPLVPNTUNNELRESULT /AWS1/CL_EC2RPLVPNTUNNELRESULT