

# NetworkInterface
<a name="API_NetworkInterface"></a>

An object representing the elastic network interface for tasks that use the `awsvpc` network mode.

## Contents
<a name="API_NetworkInterface_Contents"></a>

 ** attachmentId **   <a name="ECS-Type-NetworkInterface-attachmentId"></a>
The attachment ID for the network interface.  
Type: String  
Required: No

 ** ipv6Address **   <a name="ECS-Type-NetworkInterface-ipv6Address"></a>
The private IPv6 address for the network interface.  
Type: String  
Required: No

 ** privateIpv4Address **   <a name="ECS-Type-NetworkInterface-privateIpv4Address"></a>
The private IPv4 address for the network interface.  
Type: String  
Required: No

## See Also
<a name="API_NetworkInterface_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/ecs-2014-11-13/NetworkInterface) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecs-2014-11-13/NetworkInterface) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecs-2014-11-13/NetworkInterface) 