stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.VolumeAttachment

Description

Attaches an Amazon EBS volume to a running instance and exposes it to the instance with the specified device name.

Synopsis

Documentation

volumeAttachment Source

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.