Assigns one or more secondary private IP addresses to the specified network interface.
See https://www.paws-r-sdk.com/docs/ec2_assign_private_ip_addresses/ for full documentation.
ec2_assign_private_ip_addresses(
AllowReassignment = NULL,
NetworkInterfaceId,
PrivateIpAddresses = NULL,
SecondaryPrivateIpAddressCount = NULL,
Ipv4Prefixes = NULL,
Ipv4PrefixCount = NULL
)
Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.
[required] The ID of the network interface.
The IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.
One or more IPv4 prefixes assigned to the network interface. You cannot
use this option if you use the Ipv4PrefixCount
option.
The number of IPv4 prefixes that Amazon Web Services automatically
assigns to the network interface. You cannot use this option if you use
the Ipv4 Prefixes
option.