Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Amazon Elastic Block Store block device type is an embedded property of the Amazon EC2 Block Device Mapping Property property.
- data EBSBlockDevice = EBSBlockDevice {}
- ebsBlockDevice :: EBSBlockDevice
- ebsbdDeleteOnTermination :: Lens' EBSBlockDevice (Maybe (Val Bool'))
- ebsbdEncrypted :: Lens' EBSBlockDevice (Maybe (Val Bool'))
- ebsbdIops :: Lens' EBSBlockDevice (Maybe (Val Integer'))
- ebsbdSnapshotId :: Lens' EBSBlockDevice (Maybe (Val Text))
- ebsbdVolumeSize :: Lens' EBSBlockDevice (Maybe (Val Text))
- ebsbdVolumeType :: Lens' EBSBlockDevice (Maybe (Val Text))
Documentation
data EBSBlockDevice Source
Full data type definition for EBSBlockDevice. See ebsBlockDevice
for a
more convenient constructor.
ebsBlockDevice :: EBSBlockDevice Source
Constructor for EBSBlockDevice
containing required fields as arguments.
ebsbdDeleteOnTermination :: Lens' EBSBlockDevice (Maybe (Val Bool')) Source
Determines whether to delete the volume on instance termination. The default value is true.
ebsbdEncrypted :: Lens' EBSBlockDevice (Maybe (Val Bool')) Source
Indicates whether the volume is encrypted. Encrypted Amazon EBS volumes can only be attached to instance types that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. You cannot create an encrypted volume from an unencrypted snapshot or vice versa. If your AMI uses encrypted volumes, you can only launch the AMI on supported instance types. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide for Linux Instances.
ebsbdIops :: Lens' EBSBlockDevice (Maybe (Val Integer')) Source
The number of I/O operations per second (IOPS) that the volume supports. This can be an integer from 100 - 2000.
ebsbdSnapshotId :: Lens' EBSBlockDevice (Maybe (Val Text)) Source
The snapshot ID of the volume to use to create a block device.
ebsbdVolumeSize :: Lens' EBSBlockDevice (Maybe (Val Text)) Source
The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is io1, the minimum value is 10.
ebsbdVolumeType :: Lens' EBSBlockDevice (Maybe (Val Text)) Source
The volume type. You can specify standard, io1, or gp2. If you set the type to io1, you must also set the Iops property. For more information about these values and the default value, see CreateVolume in the Amazon EC2 API Reference.