Paws::EC2::CreateNetworkInterface - Arguments for method CreateNetworkInterface on Paws::EC2
This class represents the parameters used for calling the method CreateNetworkInterface on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method CreateNetworkInterface.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateNetworkInterface.
As an example:
$service_obj->CreateNetworkInterface(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
A description for the network interface.
The IDs of one or more security groups.
The primary private IP address of the network interface. If you don't specify an IP address, Amazon EC2 selects one for you from the subnet range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).
privateIpAddresses
One or more private IP addresses.
The number of secondary private IP addresses to assign to a network interface. When you specify a number of secondary IP addresses, Amazon EC2 selects these IP addresses within the subnet range. You can't specify this option and specify more than one private IP address using privateIpAddresses.
The number of IP addresses you can assign to a network interface varies by instance type. For more information, see Private IP Addresses Per ENI Per Instance Type in the Amazon Elastic Compute Cloud User Guide for Linux.
The ID of the subnet to associate with the network interface.
This class forms part of Paws, documenting arguments for method CreateNetworkInterface in Paws::EC2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.