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.

The parameters for a network interface.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest

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

Syntax

C#
public class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest

The LaunchTemplateInstanceNetworkInterfaceSpecificationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AssociatePublicIpAddress System.Boolean

Gets and sets the property AssociatePublicIpAddress.

Associates a public IPv4 address with eth0 for a new network interface.

Public Property DeleteOnTermination System.Boolean

Gets and sets the property DeleteOnTermination.

Indicates whether the network interface is deleted when the instance is terminated.

Public Property Description System.String

Gets and sets the property Description.

A description for the network interface.

Public Property DeviceIndex System.Int32

Gets and sets the property DeviceIndex.

The device index for the network interface attachment.

Public Property Groups System.Collections.Generic.List<System.String>

Gets and sets the property Groups.

The IDs of one or more security groups.

Public Property Ipv6AddressCount System.Int32

Gets and sets the property Ipv6AddressCount.

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

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

Gets and sets the property Ipv6Addresses.

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Public Property NetworkInterfaceId System.String

Gets and sets the property NetworkInterfaceId.

The ID of the network interface.

Public Property PrivateIpAddress System.String

Gets and sets the property PrivateIpAddress.

The primary private IPv4 address of the network interface.

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

Gets and sets the property PrivateIpAddresses.

One or more private IPv4 addresses.

Public Property SecondaryPrivateIpAddressCount System.Int32

Gets and sets the property SecondaryPrivateIpAddressCount.

The number of secondary private IPv4 addresses to assign to a network interface.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet for the network interface.

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