module Stratosphere.AutoScaling.LaunchConfiguration.BlockDeviceProperty (
        BlockDeviceProperty(..), mkBlockDeviceProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BlockDeviceProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html>
    BlockDeviceProperty {BlockDeviceProperty -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-deleteontermination>
                         BlockDeviceProperty -> Maybe (Value Bool)
deleteOnTermination :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-encrypted>
                         BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-iops>
                         BlockDeviceProperty -> Maybe (Value Integer)
iops :: (Prelude.Maybe (Value Prelude.Integer)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-snapshotid>
                         BlockDeviceProperty -> Maybe (Value Text)
snapshotId :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-throughput>
                         BlockDeviceProperty -> Maybe (Value Integer)
throughput :: (Prelude.Maybe (Value Prelude.Integer)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-volumesize>
                         BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: (Prelude.Maybe (Value Prelude.Integer)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-volumetype>
                         BlockDeviceProperty -> Maybe (Value Text)
volumeType :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (BlockDeviceProperty -> BlockDeviceProperty -> Bool
(BlockDeviceProperty -> BlockDeviceProperty -> Bool)
-> (BlockDeviceProperty -> BlockDeviceProperty -> Bool)
-> Eq BlockDeviceProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BlockDeviceProperty -> BlockDeviceProperty -> Bool
== :: BlockDeviceProperty -> BlockDeviceProperty -> Bool
$c/= :: BlockDeviceProperty -> BlockDeviceProperty -> Bool
/= :: BlockDeviceProperty -> BlockDeviceProperty -> Bool
Prelude.Eq, Int -> BlockDeviceProperty -> ShowS
[BlockDeviceProperty] -> ShowS
BlockDeviceProperty -> String
(Int -> BlockDeviceProperty -> ShowS)
-> (BlockDeviceProperty -> String)
-> ([BlockDeviceProperty] -> ShowS)
-> Show BlockDeviceProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BlockDeviceProperty -> ShowS
showsPrec :: Int -> BlockDeviceProperty -> ShowS
$cshow :: BlockDeviceProperty -> String
show :: BlockDeviceProperty -> String
$cshowList :: [BlockDeviceProperty] -> ShowS
showList :: [BlockDeviceProperty] -> ShowS
Prelude.Show)
mkBlockDeviceProperty :: BlockDeviceProperty
mkBlockDeviceProperty :: BlockDeviceProperty
mkBlockDeviceProperty
  = BlockDeviceProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), deleteOnTermination :: Maybe (Value Bool)
deleteOnTermination = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       encrypted :: Maybe (Value Bool)
encrypted = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, iops :: Maybe (Value Integer)
iops = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       snapshotId :: Maybe (Value Text)
snapshotId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, throughput :: Maybe (Value Integer)
throughput = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       volumeSize :: Maybe (Value Integer)
volumeSize = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, volumeType :: Maybe (Value Text)
volumeType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BlockDeviceProperty where
  toResourceProperties :: BlockDeviceProperty -> ResourceProperties
toResourceProperties BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AutoScaling::LaunchConfiguration.BlockDevice",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeleteOnTermination" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deleteOnTermination,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Encrypted" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
encrypted,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Iops" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
iops,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SnapshotId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
snapshotId,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Throughput" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
throughput,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeSize" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
volumeSize,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
volumeType])}
instance JSON.ToJSON BlockDeviceProperty where
  toJSON :: BlockDeviceProperty -> Value
toJSON BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeleteOnTermination" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deleteOnTermination,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Encrypted" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
encrypted,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Iops" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
iops,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SnapshotId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
snapshotId,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Throughput" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
throughput,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeSize" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
volumeSize,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
volumeType]))
instance Property "DeleteOnTermination" BlockDeviceProperty where
  type PropertyType "DeleteOnTermination" BlockDeviceProperty = Value Prelude.Bool
  set :: PropertyType "DeleteOnTermination" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "DeleteOnTermination" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty
        {deleteOnTermination :: Maybe (Value Bool)
deleteOnTermination = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeleteOnTermination" BlockDeviceProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Encrypted" BlockDeviceProperty where
  type PropertyType "Encrypted" BlockDeviceProperty = Value Prelude.Bool
  set :: PropertyType "Encrypted" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "Encrypted" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {encrypted :: Maybe (Value Bool)
encrypted = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Encrypted" BlockDeviceProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Iops" BlockDeviceProperty where
  type PropertyType "Iops" BlockDeviceProperty = Value Prelude.Integer
  set :: PropertyType "Iops" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "Iops" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {iops :: Maybe (Value Integer)
iops = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Iops" BlockDeviceProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "SnapshotId" BlockDeviceProperty where
  type PropertyType "SnapshotId" BlockDeviceProperty = Value Prelude.Text
  set :: PropertyType "SnapshotId" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "SnapshotId" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {snapshotId :: Maybe (Value Text)
snapshotId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SnapshotId" BlockDeviceProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Throughput" BlockDeviceProperty where
  type PropertyType "Throughput" BlockDeviceProperty = Value Prelude.Integer
  set :: PropertyType "Throughput" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "Throughput" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {throughput :: Maybe (Value Integer)
throughput = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Throughput" BlockDeviceProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "VolumeSize" BlockDeviceProperty where
  type PropertyType "VolumeSize" BlockDeviceProperty = Value Prelude.Integer
  set :: PropertyType "VolumeSize" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "VolumeSize" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {volumeSize :: Maybe (Value Integer)
volumeSize = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VolumeSize" BlockDeviceProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "VolumeType" BlockDeviceProperty where
  type PropertyType "VolumeType" BlockDeviceProperty = Value Prelude.Text
  set :: PropertyType "VolumeType" BlockDeviceProperty
-> BlockDeviceProperty -> BlockDeviceProperty
set PropertyType "VolumeType" BlockDeviceProperty
newValue BlockDeviceProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: BlockDeviceProperty -> ()
deleteOnTermination :: BlockDeviceProperty -> Maybe (Value Bool)
encrypted :: BlockDeviceProperty -> Maybe (Value Bool)
iops :: BlockDeviceProperty -> Maybe (Value Integer)
snapshotId :: BlockDeviceProperty -> Maybe (Value Text)
throughput :: BlockDeviceProperty -> Maybe (Value Integer)
volumeSize :: BlockDeviceProperty -> Maybe (Value Integer)
volumeType :: BlockDeviceProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = BlockDeviceProperty {volumeType :: Maybe (Value Text)
volumeType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VolumeType" BlockDeviceProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
..}