Skip to content

/AWS1/CL_EC2=>ASSOCIATETRUNKINTERFACE()

About AssociateTrunkInterface

Associates a branch network interface with a trunk network interface.

Before you create the association, run the create-network-interface command and set --interface-type to trunk. You must also create a network interface for each branch network interface that you want to associate with the trunk network interface.

Method Signature

IMPORTING

Required arguments:

IV_BRANCHINTERFACEID TYPE /AWS1/EC2NETWORKINTERFACEID /AWS1/EC2NETWORKINTERFACEID

The ID of the branch network interface.

IV_TRUNKINTERFACEID TYPE /AWS1/EC2NETWORKINTERFACEID /AWS1/EC2NETWORKINTERFACEID

The ID of the trunk network interface.

Optional arguments:

IV_VLANID TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The ID of the VLAN. This applies to the VLAN protocol.

IV_GREKEY TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The application key. This applies to the GRE protocol.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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_EC2ASCTRUNKINTERFAC01 /AWS1/CL_EC2ASCTRUNKINTERFAC01