module Stratosphere.OpsWorks.Layer.AutoScalingThresholdsProperty (
        AutoScalingThresholdsProperty(..), mkAutoScalingThresholdsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data AutoScalingThresholdsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html>
    AutoScalingThresholdsProperty {AutoScalingThresholdsProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-cputhreshold>
                                   AutoScalingThresholdsProperty -> Maybe (Value Double)
cpuThreshold :: (Prelude.Maybe (Value Prelude.Double)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-ignoremetricstime>
                                   AutoScalingThresholdsProperty -> Maybe (Value Integer)
ignoreMetricsTime :: (Prelude.Maybe (Value Prelude.Integer)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-instancecount>
                                   AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: (Prelude.Maybe (Value Prelude.Integer)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-loadthreshold>
                                   AutoScalingThresholdsProperty -> Maybe (Value Double)
loadThreshold :: (Prelude.Maybe (Value Prelude.Double)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-memorythreshold>
                                   AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: (Prelude.Maybe (Value Prelude.Double)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-thresholdwaittime>
                                   AutoScalingThresholdsProperty -> Maybe (Value Integer)
thresholdsWaitTime :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> Bool
(AutoScalingThresholdsProperty
 -> AutoScalingThresholdsProperty -> Bool)
-> (AutoScalingThresholdsProperty
    -> AutoScalingThresholdsProperty -> Bool)
-> Eq AutoScalingThresholdsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> Bool
== :: AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> Bool
$c/= :: AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> Bool
/= :: AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> Bool
Prelude.Eq, Int -> AutoScalingThresholdsProperty -> ShowS
[AutoScalingThresholdsProperty] -> ShowS
AutoScalingThresholdsProperty -> String
(Int -> AutoScalingThresholdsProperty -> ShowS)
-> (AutoScalingThresholdsProperty -> String)
-> ([AutoScalingThresholdsProperty] -> ShowS)
-> Show AutoScalingThresholdsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AutoScalingThresholdsProperty -> ShowS
showsPrec :: Int -> AutoScalingThresholdsProperty -> ShowS
$cshow :: AutoScalingThresholdsProperty -> String
show :: AutoScalingThresholdsProperty -> String
$cshowList :: [AutoScalingThresholdsProperty] -> ShowS
showList :: [AutoScalingThresholdsProperty] -> ShowS
Prelude.Show)
mkAutoScalingThresholdsProperty :: AutoScalingThresholdsProperty
mkAutoScalingThresholdsProperty :: AutoScalingThresholdsProperty
mkAutoScalingThresholdsProperty
  = AutoScalingThresholdsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), cpuThreshold :: Maybe (Value Double)
cpuThreshold = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
       ignoreMetricsTime :: Maybe (Value Integer)
ignoreMetricsTime = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       instanceCount :: Maybe (Value Integer)
instanceCount = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, loadThreshold :: Maybe (Value Double)
loadThreshold = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
       memoryThreshold :: Maybe (Value Double)
memoryThreshold = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
       thresholdsWaitTime :: Maybe (Value Integer)
thresholdsWaitTime = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AutoScalingThresholdsProperty where
  toResourceProperties :: AutoScalingThresholdsProperty -> ResourceProperties
toResourceProperties AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::OpsWorks::Layer.AutoScalingThresholds",
         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 Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CpuThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
cpuThreshold,
                            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
"IgnoreMetricsTime" (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)
ignoreMetricsTime,
                            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
"InstanceCount" (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)
instanceCount,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LoadThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
loadThreshold,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MemoryThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
memoryThreshold,
                            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
"ThresholdsWaitTime" (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)
thresholdsWaitTime])}
instance JSON.ToJSON AutoScalingThresholdsProperty where
  toJSON :: AutoScalingThresholdsProperty -> Value
toJSON AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = [(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 Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CpuThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
cpuThreshold,
               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
"IgnoreMetricsTime" (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)
ignoreMetricsTime,
               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
"InstanceCount" (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)
instanceCount,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LoadThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
loadThreshold,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MemoryThreshold" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
memoryThreshold,
               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
"ThresholdsWaitTime" (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)
thresholdsWaitTime]))
instance Property "CpuThreshold" AutoScalingThresholdsProperty where
  type PropertyType "CpuThreshold" AutoScalingThresholdsProperty = Value Prelude.Double
  set :: PropertyType "CpuThreshold" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "CpuThreshold" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {cpuThreshold :: Maybe (Value Double)
cpuThreshold = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CpuThreshold" AutoScalingThresholdsProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
instance Property "IgnoreMetricsTime" AutoScalingThresholdsProperty where
  type PropertyType "IgnoreMetricsTime" AutoScalingThresholdsProperty = Value Prelude.Integer
  set :: PropertyType "IgnoreMetricsTime" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "IgnoreMetricsTime" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {ignoreMetricsTime :: Maybe (Value Integer)
ignoreMetricsTime = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IgnoreMetricsTime" AutoScalingThresholdsProperty
Value Integer
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
instance Property "InstanceCount" AutoScalingThresholdsProperty where
  type PropertyType "InstanceCount" AutoScalingThresholdsProperty = Value Prelude.Integer
  set :: PropertyType "InstanceCount" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "InstanceCount" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {instanceCount :: Maybe (Value Integer)
instanceCount = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InstanceCount" AutoScalingThresholdsProperty
Value Integer
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
instance Property "LoadThreshold" AutoScalingThresholdsProperty where
  type PropertyType "LoadThreshold" AutoScalingThresholdsProperty = Value Prelude.Double
  set :: PropertyType "LoadThreshold" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "LoadThreshold" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {loadThreshold :: Maybe (Value Double)
loadThreshold = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LoadThreshold" AutoScalingThresholdsProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
instance Property "MemoryThreshold" AutoScalingThresholdsProperty where
  type PropertyType "MemoryThreshold" AutoScalingThresholdsProperty = Value Prelude.Double
  set :: PropertyType "MemoryThreshold" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "MemoryThreshold" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {memoryThreshold :: Maybe (Value Double)
memoryThreshold = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MemoryThreshold" AutoScalingThresholdsProperty
Value Double
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
instance Property "ThresholdsWaitTime" AutoScalingThresholdsProperty where
  type PropertyType "ThresholdsWaitTime" AutoScalingThresholdsProperty = Value Prelude.Integer
  set :: PropertyType "ThresholdsWaitTime" AutoScalingThresholdsProperty
-> AutoScalingThresholdsProperty -> AutoScalingThresholdsProperty
set PropertyType "ThresholdsWaitTime" AutoScalingThresholdsProperty
newValue AutoScalingThresholdsProperty {Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: AutoScalingThresholdsProperty -> ()
cpuThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
ignoreMetricsTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
instanceCount :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
loadThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
memoryThreshold :: AutoScalingThresholdsProperty -> Maybe (Value Double)
thresholdsWaitTime :: AutoScalingThresholdsProperty -> Maybe (Value Integer)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
thresholdsWaitTime :: Maybe (Value Integer)
..}
    = AutoScalingThresholdsProperty
        {thresholdsWaitTime :: Maybe (Value Integer)
thresholdsWaitTime = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ThresholdsWaitTime" AutoScalingThresholdsProperty
Value Integer
newValue, Maybe (Value Double)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
haddock_workaround_ :: ()
cpuThreshold :: Maybe (Value Double)
ignoreMetricsTime :: Maybe (Value Integer)
instanceCount :: Maybe (Value Integer)
loadThreshold :: Maybe (Value Double)
memoryThreshold :: Maybe (Value Double)
..}