stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.EBSBlockDevice

Description

The Amazon Elastic Block Store block device type is an embedded property of the Amazon EC2 Block Device Mapping Property property.

Synopsis

Documentation

data EBSBlockDevice Source #

Full data type definition for EBSBlockDevice. See ebsBlockDevice for a more convenient constructor.

Instances

Show EBSBlockDevice Source # 
Generic EBSBlockDevice Source # 

Associated Types

type Rep EBSBlockDevice :: * -> * #

ToJSON EBSBlockDevice Source # 
FromJSON EBSBlockDevice Source # 
type Rep EBSBlockDevice Source # 
type Rep EBSBlockDevice = D1 (MetaData "EBSBlockDevice" "Stratosphere.ResourceProperties.EBSBlockDevice" "stratosphere-0.2.2-Fnop5S0NvsvBmp7LUeJWuv" False) (C1 (MetaCons "EBSBlockDevice" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceDeleteOnTermination") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) ((:*:) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceEncrypted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceIops") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))))) ((:*:) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceSnapshotId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceVolumeSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_eBSBlockDeviceVolumeType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))))

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.