module Stratosphere.ImageBuilder.ContainerRecipe.EbsInstanceBlockDeviceSpecificationProperty (
        EbsInstanceBlockDeviceSpecificationProperty(..),
        mkEbsInstanceBlockDeviceSpecificationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EbsInstanceBlockDeviceSpecificationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html>
    EbsInstanceBlockDeviceSpecificationProperty {EbsInstanceBlockDeviceSpecificationProperty -> ()
haddock_workaround_ :: (),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-deleteontermination>
                                                 EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
deleteOnTermination :: (Prelude.Maybe (Value Prelude.Bool)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-encrypted>
                                                 EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: (Prelude.Maybe (Value Prelude.Bool)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-iops>
                                                 EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
iops :: (Prelude.Maybe (Value Prelude.Integer)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-kmskeyid>
                                                 EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
kmsKeyId :: (Prelude.Maybe (Value Prelude.Text)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-snapshotid>
                                                 EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: (Prelude.Maybe (Value Prelude.Text)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-throughput>
                                                 EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
throughput :: (Prelude.Maybe (Value Prelude.Integer)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-volumesize>
                                                 EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: (Prelude.Maybe (Value Prelude.Integer)),
                                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-volumetype>
                                                 EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
volumeType :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty -> Bool
(EbsInstanceBlockDeviceSpecificationProperty
 -> EbsInstanceBlockDeviceSpecificationProperty -> Bool)
-> (EbsInstanceBlockDeviceSpecificationProperty
    -> EbsInstanceBlockDeviceSpecificationProperty -> Bool)
-> Eq EbsInstanceBlockDeviceSpecificationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty -> Bool
== :: EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty -> Bool
$c/= :: EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty -> Bool
/= :: EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty -> Bool
Prelude.Eq, Int -> EbsInstanceBlockDeviceSpecificationProperty -> ShowS
[EbsInstanceBlockDeviceSpecificationProperty] -> ShowS
EbsInstanceBlockDeviceSpecificationProperty -> String
(Int -> EbsInstanceBlockDeviceSpecificationProperty -> ShowS)
-> (EbsInstanceBlockDeviceSpecificationProperty -> String)
-> ([EbsInstanceBlockDeviceSpecificationProperty] -> ShowS)
-> Show EbsInstanceBlockDeviceSpecificationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EbsInstanceBlockDeviceSpecificationProperty -> ShowS
showsPrec :: Int -> EbsInstanceBlockDeviceSpecificationProperty -> ShowS
$cshow :: EbsInstanceBlockDeviceSpecificationProperty -> String
show :: EbsInstanceBlockDeviceSpecificationProperty -> String
$cshowList :: [EbsInstanceBlockDeviceSpecificationProperty] -> ShowS
showList :: [EbsInstanceBlockDeviceSpecificationProperty] -> ShowS
Prelude.Show)
mkEbsInstanceBlockDeviceSpecificationProperty ::
  EbsInstanceBlockDeviceSpecificationProperty
mkEbsInstanceBlockDeviceSpecificationProperty :: EbsInstanceBlockDeviceSpecificationProperty
mkEbsInstanceBlockDeviceSpecificationProperty
  = EbsInstanceBlockDeviceSpecificationProperty
      {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,
       kmsKeyId :: Maybe (Value Text)
kmsKeyId = Maybe (Value Text)
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 EbsInstanceBlockDeviceSpecificationProperty where
  toResourceProperties :: EbsInstanceBlockDeviceSpecificationProperty -> ResourceProperties
toResourceProperties
    EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification",
         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
"KmsKeyId" (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)
kmsKeyId,
                            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 EbsInstanceBlockDeviceSpecificationProperty where
  toJSON :: EbsInstanceBlockDeviceSpecificationProperty -> Value
toJSON EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
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
"KmsKeyId" (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)
kmsKeyId,
               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" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "DeleteOnTermination" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Bool
  set :: PropertyType
  "DeleteOnTermination" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "DeleteOnTermination" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Encrypted" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "Encrypted" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Bool
  set :: PropertyType
  "Encrypted" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "Encrypted" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
Value Bool
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Iops" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "Iops" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Integer
  set :: PropertyType "Iops" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType "Iops" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "KmsKeyId" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "KmsKeyId" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Text
  set :: PropertyType "KmsKeyId" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType "KmsKeyId" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {kmsKeyId :: Maybe (Value Text)
kmsKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyId" EbsInstanceBlockDeviceSpecificationProperty
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)
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)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "SnapshotId" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "SnapshotId" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Text
  set :: PropertyType
  "SnapshotId" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "SnapshotId" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
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)
kmsKeyId :: 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)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "Throughput" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "Throughput" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Integer
  set :: PropertyType
  "Throughput" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "Throughput" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
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)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "VolumeSize" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "VolumeSize" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Integer
  set :: PropertyType
  "VolumeSize" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "VolumeSize" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
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)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
instance Property "VolumeType" EbsInstanceBlockDeviceSpecificationProperty where
  type PropertyType "VolumeType" EbsInstanceBlockDeviceSpecificationProperty = Value Prelude.Text
  set :: PropertyType
  "VolumeType" EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
-> EbsInstanceBlockDeviceSpecificationProperty
set PropertyType
  "VolumeType" EbsInstanceBlockDeviceSpecificationProperty
newValue EbsInstanceBlockDeviceSpecificationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: EbsInstanceBlockDeviceSpecificationProperty -> ()
deleteOnTermination :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
encrypted :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Bool)
iops :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
kmsKeyId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
snapshotId :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
throughput :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeSize :: EbsInstanceBlockDeviceSpecificationProperty
-> Maybe (Value Integer)
volumeType :: EbsInstanceBlockDeviceSpecificationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
deleteOnTermination :: Maybe (Value Bool)
encrypted :: Maybe (Value Bool)
iops :: Maybe (Value Integer)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
volumeType :: Maybe (Value Text)
..}
    = EbsInstanceBlockDeviceSpecificationProperty
        {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" EbsInstanceBlockDeviceSpecificationProperty
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)
kmsKeyId :: Maybe (Value Text)
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)
kmsKeyId :: Maybe (Value Text)
snapshotId :: Maybe (Value Text)
throughput :: Maybe (Value Integer)
volumeSize :: Maybe (Value Integer)
..}