ec2_assign_private_ip_addresses: Assigns one or more secondary private IP addresses to the...

View source: R/ec2_operations.R

ec2_assign_private_ip_addressesR Documentation

Assigns one or more secondary private IP addresses to the specified network interface

Description

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.

Usage

ec2_assign_private_ip_addresses(
  AllowReassignment = NULL,
  NetworkInterfaceId,
  PrivateIpAddresses = NULL,
  SecondaryPrivateIpAddressCount = NULL,
  Ipv4Prefixes = NULL,
  Ipv4PrefixCount = NULL
)

Arguments

AllowReassignment

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.

NetworkInterfaceId

[required] The ID of the network interface.

PrivateIpAddresses

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.

SecondaryPrivateIpAddressCount

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

Ipv4Prefixes

One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCount option.

Ipv4PrefixCount

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.