module Stratosphere.Pipes.Pipe.EcsEphemeralStorageProperty (
        EcsEphemeralStorageProperty(..), mkEcsEphemeralStorageProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EcsEphemeralStorageProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-ecsephemeralstorage.html>
    EcsEphemeralStorageProperty {EcsEphemeralStorageProperty -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-ecsephemeralstorage.html#cfn-pipes-pipe-ecsephemeralstorage-sizeingib>
                                 EcsEphemeralStorageProperty -> Value Integer
sizeInGiB :: (Value Prelude.Integer)}
  deriving stock (EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty -> Bool
(EcsEphemeralStorageProperty
 -> EcsEphemeralStorageProperty -> Bool)
-> (EcsEphemeralStorageProperty
    -> EcsEphemeralStorageProperty -> Bool)
-> Eq EcsEphemeralStorageProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty -> Bool
== :: EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty -> Bool
$c/= :: EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty -> Bool
/= :: EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty -> Bool
Prelude.Eq, Int -> EcsEphemeralStorageProperty -> ShowS
[EcsEphemeralStorageProperty] -> ShowS
EcsEphemeralStorageProperty -> String
(Int -> EcsEphemeralStorageProperty -> ShowS)
-> (EcsEphemeralStorageProperty -> String)
-> ([EcsEphemeralStorageProperty] -> ShowS)
-> Show EcsEphemeralStorageProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EcsEphemeralStorageProperty -> ShowS
showsPrec :: Int -> EcsEphemeralStorageProperty -> ShowS
$cshow :: EcsEphemeralStorageProperty -> String
show :: EcsEphemeralStorageProperty -> String
$cshowList :: [EcsEphemeralStorageProperty] -> ShowS
showList :: [EcsEphemeralStorageProperty] -> ShowS
Prelude.Show)
mkEcsEphemeralStorageProperty ::
  Value Prelude.Integer -> EcsEphemeralStorageProperty
mkEcsEphemeralStorageProperty :: Value Integer -> EcsEphemeralStorageProperty
mkEcsEphemeralStorageProperty Value Integer
sizeInGiB
  = EcsEphemeralStorageProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), sizeInGiB :: Value Integer
sizeInGiB = Value Integer
sizeInGiB}
instance ToResourceProperties EcsEphemeralStorageProperty where
  toResourceProperties :: EcsEphemeralStorageProperty -> ResourceProperties
toResourceProperties EcsEphemeralStorageProperty {()
Value Integer
haddock_workaround_ :: EcsEphemeralStorageProperty -> ()
sizeInGiB :: EcsEphemeralStorageProperty -> Value Integer
haddock_workaround_ :: ()
sizeInGiB :: Value Integer
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pipes::Pipe.EcsEphemeralStorage",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"SizeInGiB" 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..= Value Integer
sizeInGiB]}
instance JSON.ToJSON EcsEphemeralStorageProperty where
  toJSON :: EcsEphemeralStorageProperty -> Value
toJSON EcsEphemeralStorageProperty {()
Value Integer
haddock_workaround_ :: EcsEphemeralStorageProperty -> ()
sizeInGiB :: EcsEphemeralStorageProperty -> Value Integer
haddock_workaround_ :: ()
sizeInGiB :: Value Integer
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"SizeInGiB" 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..= Value Integer
sizeInGiB]
instance Property "SizeInGiB" EcsEphemeralStorageProperty where
  type PropertyType "SizeInGiB" EcsEphemeralStorageProperty = Value Prelude.Integer
  set :: PropertyType "SizeInGiB" EcsEphemeralStorageProperty
-> EcsEphemeralStorageProperty -> EcsEphemeralStorageProperty
set PropertyType "SizeInGiB" EcsEphemeralStorageProperty
newValue EcsEphemeralStorageProperty {()
Value Integer
haddock_workaround_ :: EcsEphemeralStorageProperty -> ()
sizeInGiB :: EcsEphemeralStorageProperty -> Value Integer
haddock_workaround_ :: ()
sizeInGiB :: Value Integer
..}
    = EcsEphemeralStorageProperty {sizeInGiB :: Value Integer
sizeInGiB = PropertyType "SizeInGiB" EcsEphemeralStorageProperty
Value Integer
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}