AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the AssociateTrunkInterface operation.

This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.

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.

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z


public class AssociateTrunkInterfaceRequest : AmazonEC2Request

The AssociateTrunkInterfaceRequest type exposes the following members



Public Property BranchInterfaceId System.String

Gets and sets the property BranchInterfaceId.

The ID of the branch network interface.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

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

Public Property GreKey System.Int32

Gets and sets the property GreKey.

The application key. This applies to the GRE protocol.

Public Property TrunkInterfaceId System.String

Gets and sets the property TrunkInterfaceId.

The ID of the trunk network interface.

Public Property VlanId System.Int32

Gets and sets the property VlanId.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5