aws ec2 create-network-interface
Creates a network interface in the specified subnet. AWS CLI reference
19 options Its page in the AWS CLI reference
Options
--client-tokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request.--connection-tracking-specificationA connection tracking specification for the network interface.--descriptionA description for the network interface.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--enable-primary-ipv6If you’re creating a network interface in a dual-stack or IPv6-only subnet, you have the option to assign a primary IPv6 IP address.--groupsThe IDs of the security groups.--interface-typeThe type of network interface.--ipv4-prefix-countThe number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.--ipv4-prefixesThe IPv4 prefixes assigned to the network interface.--ipv6-address-countThe number of IPv6 addresses to assign to a network interface.--ipv6-addressesThe IPv6 addresses from the IPv6 CIDR block range of your subnet.--ipv6-prefix-countThe number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.--ipv6-prefixesThe IPv6 prefixes assigned to the network interface.--operatorReserved for internal use.--private-ip-addressThe primary private IPv4 address of the network interface.--private-ip-addressesThe private IPv4 addresses.--secondary-private-ip-address-countThe number of secondary private IPv4 addresses to assign to a network interface.--subnet-idThe ID of the subnet to associate with the network interface.--tag-specificationsThe tags to apply to the new network interface.