Class: EC2NetworkInterfaceEmbeddedPropertyType

Types~EC2NetworkInterfaceEmbeddedPropertyType

new EC2NetworkInterfaceEmbeddedPropertyType()

Properties:
Name Type Description
AssociatePublicIpAddress Boolean Required: No. Indicates whether the network interface receives a public IP address. You can associate a public IP address with a network interface only if it has a device index of eth0 and if it is a new network interface (not an existing one). In other words, if you specify true, don't specify a network interface ID. For more information, see Amazon EC2 Instance IP Addressing.
DeleteOnTermination Boolean Required: No. Whether to delete the network interface when the instance terminates.
Description String Required: No. The description of this network interface.
DeviceIndex String Required: Yes. The network interface's position in the attachment order.
GroupSet String Required: No. A list of security group IDs associated with this network interface.
NetworkInterfaceId String Required: Conditional. An existing network interface ID.
PrivateIpAddress String Required: No. Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
PrivateIpAddresses EC2NetworkInterfacePrivateIPSpecification Required: No. Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want Amazon EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpCount property and do not specify this property.For information about the maximum number of private IP addresses, see Private IP Addresses Per ENI Per Instance Type in the Amazon EC2 User Guide for Linux Instances.
SecondaryPrivateIpAddressCount Number Required: No. The number of secondary private IP addresses that Amazon EC2 auto assigns to the network interface. Amazon EC2 uses the value of the PrivateIpAddress property as the primary private IP address. If you don't specify that property, Amazon EC2 auto assigns both the primary and secondary private IP addresses.If you want to specify your own list of private IP addresses, use the PrivateIpAddresses property and do not specify this property.For information about the maximum number of private IP addresses, see Private IP Addresses Per ENI Per Instance Type in the Amazon EC2 User Guide for Linux Instances.
SubnetId String Required: Conditional. The ID of the subnet to associate with the network interface.
Source: