AssignPrivateIpAddressesRequest
¶
Source code in docs_src/capo_ec2/types/assign_private_ip_addresses_request.py
allow_reassignment
instance-attribute
¶
allow_reassignment: NotRequired[Boolean]
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.
ipv4_prefix_count
instance-attribute
¶
ipv4_prefix_count: NotRequired[Integer]
The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You can't use this option if you use the Ipv4 Prefixes option.
ipv4_prefixes
instance-attribute
¶
ipv4_prefixes: NotRequired[IpPrefixList]
One or more IPv4 prefixes assigned to the network interface. You can't use this option if you use the Ipv4PrefixCount option.
network_interface_id
instance-attribute
¶
network_interface_id: NotRequired[NetworkInterfaceId]
The ID of the network interface.
private_ip_addresses
instance-attribute
¶
private_ip_addresses: NotRequired[PrivateIpAddressStringList]
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.