AWS SDK for .NET Documentation
WithDeviceIndex Method (deviceIndex)
AmazonAmazon.EC2.ModelInstanceNetworkInterfaceSpecificationWithDeviceIndex(Int32) Did this page help you?   Yes   No    Tell us about it...
The device index. Applies to both attaching an existing network interface and when creating a network interface.
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public InstanceNetworkInterfaceSpecification WithDeviceIndex(
	int deviceIndex
deviceIndex (Int32)
The index of the device on the instance for the network interface attachment.
Return Value
this instance
Condition: If you are specifying a network interface in the request, you must provide the device index.

Assembly: AWSSDK (Module: AWSSDK) Version: (