Attaches a network interface to an instance.
get/#Action=AttachNetworkInterface
Query parameters
DeviceIndexinteger required
The index of the device for the network interface attachment.
DryRunboolean
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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
InstanceIdstring required
The ID of the instance.
NetworkInterfaceIdstring required
The ID of the network interface.
NetworkCardIndexinteger
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
Configures ENA Express for the network interface that this action attaches to the instance.
Action'AttachNetworkInterface' required
Version'2016-11-15' required
Response
Success