Container for the parameters to the AttachVolume operation.
Attach a previously created volume to a running instance.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AttachVolumeRequest : AmazonWebServiceRequest IRequestEvents
The AttachVolumeRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
AttachVolumeRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
Device |
Specifies how the device is exposed to the instance (e.g., |
![]() |
InstanceId | The ID of the instance to which the volume attaches. The volume and instance must be within the same Availability Zone and the instance must be running. |
![]() |
VolumeId | The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone and the instance must be running. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8