Skip to content

/AWS1/CL_EC2=>MODIFYVPNCONNECTIONOPTIONS()

About ModifyVpnConnectionOptions

Modifies the connection options for your Site-to-Site VPN connection.

When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon Web Services side do not change, and the tunnel options do not change. Your VPN connection will be temporarily unavailable for a brief period while the VPN connection is updated.

Method Signature

IMPORTING

Required arguments:

IV_VPNCONNECTIONID TYPE /AWS1/EC2VPNCONNECTIONID /AWS1/EC2VPNCONNECTIONID

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

Optional arguments:

IV_LOCALIPV4NETWORKCIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: 0.0.0.0/0

IV_REMOTEIPV4NETWORKCIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

Default: 0.0.0.0/0

IV_LOCALIPV6NETWORKCIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: ::/0

IV_REMOTEIPV6NETWORKCIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

Default: ::/0

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_EC2MODIFYVPNCXNOPTSRS /AWS1/CL_EC2MODIFYVPNCXNOPTSRS