@aws-sdk/client-ec2

AttachVolumeCommandInput Interface

The input for AttachVolumeCommand.

Members

Name
Type
Details
Device Requiredstring | undefined

The device name (for example, /dev/sdh or xvdh).

InstanceId Requiredstring | undefined

The ID of the instance.

VolumeId Requiredstring | undefined

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

DryRun boolean | undefined

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.

Full Signature

export interface AttachVolumeCommandInput extends AttachVolumeRequest