ec2_attach_volume: Attaches an EBS volume to a running or stopped instance and...

View source: R/ec2_operations.R

ec2_attach_volumeR Documentation

Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name

Description

Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name.

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

Usage

ec2_attach_volume(Device, InstanceId, VolumeId, DryRun = NULL)

Arguments

Device

[required] The device name (for example, ⁠/dev/sdh⁠ or xvdh).

InstanceId

[required] The ID of the instance.

VolumeId

[required] The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

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.


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