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.

Describes a network interface.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.InstanceNetworkInterface

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

Syntax

C#
public class InstanceNetworkInterface

The InstanceNetworkInterface type exposes the following members

Constructors

NameDescription
Public Method InstanceNetworkInterface()

Properties

NameTypeDescription
Public Property Association Amazon.EC2.Model.InstanceNetworkInterfaceAssociation

Gets and sets the property Association.

The association information for an Elastic IPv4 associated with the network interface.

Public Property Attachment Amazon.EC2.Model.InstanceNetworkInterfaceAttachment

Gets and sets the property Attachment.

The network interface attachment.

Public Property Description System.String

Gets and sets the property Description.

The description.

Public Property Groups System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier>

Gets and sets the property Groups.

One or more security groups.

Public Property Ipv6Addresses System.Collections.Generic.List<Amazon.EC2.Model.InstanceIpv6Address>

Gets and sets the property Ipv6Addresses.

One or more IPv6 addresses associated with the network interface.

Public Property MacAddress System.String

Gets and sets the property MacAddress.

The MAC address.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

The ID of the AWS account that created the network interface.

Public Property PrivateDnsName System.String

Gets and sets the property PrivateDnsName.

The private DNS name.

Public Property PrivateIpAddress System.String

Gets and sets the property PrivateIpAddress.

The IPv4 address of the network interface within the subnet.

Public Property PrivateIpAddresses System.Collections.Generic.List<Amazon.EC2.Model.InstancePrivateIpAddress>

Gets and sets the property PrivateIpAddresses.

One or more private IPv4 addresses associated with the network interface.

Public Property SourceDestCheck System.Boolean

Gets and sets the property SourceDestCheck.

Indicates whether to validate network traffic to or from this network interface.

Public Property Status Amazon.EC2.NetworkInterfaceStatus

Gets and sets the property Status.

The status of the network interface.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of the VPC.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms