aws ec2 assign-private-ip-addresses
Assigns the specified secondary private IP addresses to the specified network interface. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--allow-reassignmentIndicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.--ipv4-prefix-countThe number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.--ipv4-prefixesOne or more IPv4 prefixes assigned to the network interface.--network-interface-idThe ID of the network interface.--private-ip-addressesThe IP addresses to be assigned as a secondary private IP address to the network interface.--secondary-private-ip-address-countThe number of secondary IP addresses to assign to the network interface.