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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class InstanceNetworkInterface
The InstanceNetworkInterface type exposes the following members
Name | Description | |
---|---|---|
![]() |
InstanceNetworkInterface() |
Name | Type | Description | |
---|---|---|---|
![]() |
Association | Amazon.EC2.Model.InstanceNetworkInterfaceAssociation |
Gets and sets the property Association. The association information for an Elastic IPv4 associated with the network interface. |
![]() |
Attachment | Amazon.EC2.Model.InstanceNetworkInterfaceAttachment |
Gets and sets the property Attachment. The network interface attachment. |
![]() |
ConnectionTrackingConfiguration | Amazon.EC2.Model.ConnectionTrackingSpecificationResponse |
Gets and sets the property ConnectionTrackingConfiguration. A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide. |
![]() |
Description | System.String |
Gets and sets the property Description. The description. |
![]() |
Groups | System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> |
Gets and sets the property Groups. The security groups. |
![]() |
InterfaceType | System.String |
Gets and sets the property InterfaceType. The type of network interface.
Valid values: |
![]() |
Ipv4Prefixes | System.Collections.Generic.List<Amazon.EC2.Model.InstanceIpv4Prefix> |
Gets and sets the property Ipv4Prefixes. The IPv4 delegated prefixes that are assigned to the network interface. |
![]() |
Ipv6Addresses | System.Collections.Generic.List<Amazon.EC2.Model.InstanceIpv6Address> |
Gets and sets the property Ipv6Addresses. The IPv6 addresses associated with the network interface. |
![]() |
Ipv6Prefixes | System.Collections.Generic.List<Amazon.EC2.Model.InstanceIpv6Prefix> |
Gets and sets the property Ipv6Prefixes. The IPv6 delegated prefixes that are assigned to the network interface. |
![]() |
MacAddress | System.String |
Gets and sets the property MacAddress. The MAC address. |
![]() |
NetworkInterfaceId | System.String |
Gets and sets the property NetworkInterfaceId. The ID of the network interface. |
![]() |
OwnerId | System.String |
Gets and sets the property OwnerId. The ID of the Amazon Web Services account that created the network interface. |
![]() |
PrivateDnsName | System.String |
Gets and sets the property PrivateDnsName. The private DNS name. |
![]() |
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress. The IPv4 address of the network interface within the subnet. |
![]() |
PrivateIpAddresses | System.Collections.Generic.List<Amazon.EC2.Model.InstancePrivateIpAddress> |
Gets and sets the property PrivateIpAddresses. The private IPv4 addresses associated with the network interface. |
![]() |
SourceDestCheck | System.Boolean |
Gets and sets the property SourceDestCheck. Indicates whether source/destination checking is enabled. |
![]() |
Status | Amazon.EC2.NetworkInterfaceStatus |
Gets and sets the property Status. The status of the network interface. |
![]() |
SubnetId | System.String |
Gets and sets the property SubnetId. The ID of the subnet. |
![]() |
VpcId | System.String |
Gets and sets the property VpcId. The ID of the VPC. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5