ec2_assign_ipv_6_addresses: Assigns one or more IPv6 addresses to the specified network...

Description Usage Arguments Value Request syntax

View source: R/ec2_operations.R

Description

Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide.

You must specify either the IPv6 addresses or the IPv6 address count in the request.

Usage

1
2
ec2_assign_ipv_6_addresses(Ipv6AddressCount, Ipv6Addresses,
  NetworkInterfaceId)

Arguments

Ipv6AddressCount

The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

Ipv6Addresses

One or more specific IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.

NetworkInterfaceId

[required] The ID of the network interface.

Value

A list with the following syntax:

1
2
3
4
5
6
list(
  AssignedIpv6Addresses = list(
    "string"
  ),
  NetworkInterfaceId = "string"
)

Request syntax

1
2
3
4
5
6
7
svc$assign_ipv_6_addresses(
  Ipv6AddressCount = 123,
  Ipv6Addresses = list(
    "string"
  ),
  NetworkInterfaceId = "string"
)

paws.compute documentation built on March 7, 2021, 5:10 p.m.