Attach Volume
GET {{aws_ec2_base_url}}/?Device&DryRun&InstanceId&VolumeId&Action=AttachVolume
Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
Device | null | The device name (for example, /dev/sdh or xvdh). | |
DryRun | null | 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 | null | The ID of the instance. | |
VolumeId | null | The ID of the EBS volume. The volume and instance must be within the same Availability Zone. | |
Action | string |