ec2_attach_network_interface: Attaches a network interface to an instance

View source: R/ec2_operations.R

ec2_attach_network_interfaceR Documentation

Attaches a network interface to an instance

Description

Attaches a network interface to an instance.

See https://www.paws-r-sdk.com/docs/ec2_attach_network_interface/ for full documentation.

Usage

ec2_attach_network_interface(
  DeviceIndex,
  DryRun = NULL,
  InstanceId,
  NetworkInterfaceId,
  NetworkCardIndex = NULL,
  EnaSrdSpecification = NULL
)

Arguments

DeviceIndex

[required] The index of the device for the network interface attachment.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

InstanceId

[required] The ID of the instance.

NetworkInterfaceId

[required] The ID of the network interface.

NetworkCardIndex

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

EnaSrdSpecification

Configures ENA Express for the network interface that this action attaches to the instance.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.