This API action supports only single-volume VMs. To import multi-volume VMs, use import_image instead. To import a disk to a snapshot, use import_snapshot instead.
See https://www.paws-r-sdk.com/docs/ec2_import_volume/ for full documentation.
Usage
ec2_import_volume(
AvailabilityZoneId = NULL,
DryRun = NULL,
AvailabilityZone = NULL,
Image,
Description = NULL,
Volume
)Arguments
- AvailabilityZoneId
The ID of the Availability Zone for the resulting EBS volume.
Either
AvailabilityZoneorAvailabilityZoneIdmust be specified, but not both.- 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 isUnauthorizedOperation.- AvailabilityZone
The Availability Zone for the resulting EBS volume.
Either
AvailabilityZoneorAvailabilityZoneIdmust be specified, but not both.- Image
[required] The disk image.
- Description
A description of the volume.
- Volume
[required] The volume size.