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