Safe Haskell | None |
---|---|
Language | Haskell2010 |
Attaches an Amazon EBS volume to a running instance and exposes it to the instance with the specified device name.
- data VolumeAttachment = VolumeAttachment {}
- volumeAttachment :: Val Text -> Val Text -> Val Text -> VolumeAttachment
- vaDevice :: Lens' VolumeAttachment (Val Text)
- vaInstanceId :: Lens' VolumeAttachment (Val Text)
- vaVolumeId :: Lens' VolumeAttachment (Val Text)
Documentation
data VolumeAttachment Source
Full data type definition for VolumeAttachment. See volumeAttachment
for a more convenient constructor.
Constructor for VolumeAttachment
containing required fields as
arguments.
vaDevice :: Lens' VolumeAttachment (Val Text) Source
How the device is exposed to the instance (e.g., devsdh, or xvdh).
vaInstanceId :: Lens' VolumeAttachment (Val Text) Source
The ID of the instance to which the volume attaches. This value can be a reference to an AWS::EC2::Instance resource, or it can be the physical ID of an existing EC2 instance.
vaVolumeId :: Lens' VolumeAttachment (Val Text) Source
The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone. This value can be a reference to an AWS::EC2::Volume resource, or it can be the volume ID of an existing Amazon EBS volume.