module Stratosphere.AutoScalingPlans.ScalingPlan.TargetTrackingConfigurationProperty (
        module Exports, TargetTrackingConfigurationProperty(..),
        mkTargetTrackingConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AutoScalingPlans.ScalingPlan.CustomizedScalingMetricSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.AutoScalingPlans.ScalingPlan.PredefinedScalingMetricSpecificationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TargetTrackingConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html>
    TargetTrackingConfigurationProperty {TargetTrackingConfigurationProperty -> ()
haddock_workaround_ :: (),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-customizedscalingmetricspecification>
                                         TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
customizedScalingMetricSpecification :: (Prelude.Maybe CustomizedScalingMetricSpecificationProperty),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-disablescalein>
                                         TargetTrackingConfigurationProperty -> Maybe (Value Bool)
disableScaleIn :: (Prelude.Maybe (Value Prelude.Bool)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-estimatedinstancewarmup>
                                         TargetTrackingConfigurationProperty -> Maybe (Value Integer)
estimatedInstanceWarmup :: (Prelude.Maybe (Value Prelude.Integer)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-predefinedscalingmetricspecification>
                                         TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
predefinedScalingMetricSpecification :: (Prelude.Maybe PredefinedScalingMetricSpecificationProperty),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-scaleincooldown>
                                         TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleInCooldown :: (Prelude.Maybe (Value Prelude.Integer)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-scaleoutcooldown>
                                         TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: (Prelude.Maybe (Value Prelude.Integer)),
                                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-targetvalue>
                                         TargetTrackingConfigurationProperty -> Value Double
targetValue :: (Value Prelude.Double)}
  deriving stock (TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty -> Bool
(TargetTrackingConfigurationProperty
 -> TargetTrackingConfigurationProperty -> Bool)
-> (TargetTrackingConfigurationProperty
    -> TargetTrackingConfigurationProperty -> Bool)
-> Eq TargetTrackingConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty -> Bool
== :: TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty -> Bool
$c/= :: TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty -> Bool
/= :: TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty -> Bool
Prelude.Eq, Int -> TargetTrackingConfigurationProperty -> ShowS
[TargetTrackingConfigurationProperty] -> ShowS
TargetTrackingConfigurationProperty -> String
(Int -> TargetTrackingConfigurationProperty -> ShowS)
-> (TargetTrackingConfigurationProperty -> String)
-> ([TargetTrackingConfigurationProperty] -> ShowS)
-> Show TargetTrackingConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TargetTrackingConfigurationProperty -> ShowS
showsPrec :: Int -> TargetTrackingConfigurationProperty -> ShowS
$cshow :: TargetTrackingConfigurationProperty -> String
show :: TargetTrackingConfigurationProperty -> String
$cshowList :: [TargetTrackingConfigurationProperty] -> ShowS
showList :: [TargetTrackingConfigurationProperty] -> ShowS
Prelude.Show)
mkTargetTrackingConfigurationProperty ::
  Value Prelude.Double -> TargetTrackingConfigurationProperty
mkTargetTrackingConfigurationProperty :: Value Double -> TargetTrackingConfigurationProperty
mkTargetTrackingConfigurationProperty Value Double
targetValue
  = TargetTrackingConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), targetValue :: Value Double
targetValue = Value Double
targetValue,
       customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
customizedScalingMetricSpecification = Maybe CustomizedScalingMetricSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
       disableScaleIn :: Maybe (Value Bool)
disableScaleIn = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       estimatedInstanceWarmup :: Maybe (Value Integer)
estimatedInstanceWarmup = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
predefinedScalingMetricSpecification = Maybe PredefinedScalingMetricSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
       scaleInCooldown :: Maybe (Value Integer)
scaleInCooldown = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       scaleOutCooldown :: Maybe (Value Integer)
scaleOutCooldown = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TargetTrackingConfigurationProperty where
  toResourceProperties :: TargetTrackingConfigurationProperty -> ResourceProperties
toResourceProperties TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"TargetValue" 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..= Value Double
targetValue]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> CustomizedScalingMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomizedScalingMetricSpecification"
                                 (CustomizedScalingMetricSpecificationProperty -> (Key, Value))
-> Maybe CustomizedScalingMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizedScalingMetricSpecificationProperty
customizedScalingMetricSpecification,
                               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
"DisableScaleIn" (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)
disableScaleIn,
                               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
"EstimatedInstanceWarmup"
                                 (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)
estimatedInstanceWarmup,
                               Key -> PredefinedScalingMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PredefinedScalingMetricSpecification"
                                 (PredefinedScalingMetricSpecificationProperty -> (Key, Value))
-> Maybe PredefinedScalingMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PredefinedScalingMetricSpecificationProperty
predefinedScalingMetricSpecification,
                               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
"ScaleInCooldown" (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)
scaleInCooldown,
                               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
"ScaleOutCooldown" (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)
scaleOutCooldown]))}
instance JSON.ToJSON TargetTrackingConfigurationProperty where
  toJSON :: TargetTrackingConfigurationProperty -> Value
toJSON TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"TargetValue" 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..= Value Double
targetValue]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> CustomizedScalingMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomizedScalingMetricSpecification"
                    (CustomizedScalingMetricSpecificationProperty -> (Key, Value))
-> Maybe CustomizedScalingMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomizedScalingMetricSpecificationProperty
customizedScalingMetricSpecification,
                  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
"DisableScaleIn" (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)
disableScaleIn,
                  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
"EstimatedInstanceWarmup"
                    (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)
estimatedInstanceWarmup,
                  Key -> PredefinedScalingMetricSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PredefinedScalingMetricSpecification"
                    (PredefinedScalingMetricSpecificationProperty -> (Key, Value))
-> Maybe PredefinedScalingMetricSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PredefinedScalingMetricSpecificationProperty
predefinedScalingMetricSpecification,
                  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
"ScaleInCooldown" (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)
scaleInCooldown,
                  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
"ScaleOutCooldown" (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)
scaleOutCooldown])))
instance Property "CustomizedScalingMetricSpecification" TargetTrackingConfigurationProperty where
  type PropertyType "CustomizedScalingMetricSpecification" TargetTrackingConfigurationProperty = CustomizedScalingMetricSpecificationProperty
  set :: PropertyType
  "CustomizedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType
  "CustomizedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
customizedScalingMetricSpecification = CustomizedScalingMetricSpecificationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CustomizedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
CustomizedScalingMetricSpecificationProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "DisableScaleIn" TargetTrackingConfigurationProperty where
  type PropertyType "DisableScaleIn" TargetTrackingConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "DisableScaleIn" TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType "DisableScaleIn" TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {disableScaleIn :: Maybe (Value Bool)
disableScaleIn = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisableScaleIn" TargetTrackingConfigurationProperty
Value Bool
newValue, Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "EstimatedInstanceWarmup" TargetTrackingConfigurationProperty where
  type PropertyType "EstimatedInstanceWarmup" TargetTrackingConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "EstimatedInstanceWarmup" TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType
  "EstimatedInstanceWarmup" TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {estimatedInstanceWarmup :: Maybe (Value Integer)
estimatedInstanceWarmup = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "EstimatedInstanceWarmup" TargetTrackingConfigurationProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "PredefinedScalingMetricSpecification" TargetTrackingConfigurationProperty where
  type PropertyType "PredefinedScalingMetricSpecification" TargetTrackingConfigurationProperty = PredefinedScalingMetricSpecificationProperty
  set :: PropertyType
  "PredefinedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType
  "PredefinedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
predefinedScalingMetricSpecification = PredefinedScalingMetricSpecificationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "PredefinedScalingMetricSpecification"
  TargetTrackingConfigurationProperty
PredefinedScalingMetricSpecificationProperty
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "ScaleInCooldown" TargetTrackingConfigurationProperty where
  type PropertyType "ScaleInCooldown" TargetTrackingConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "ScaleInCooldown" TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType "ScaleInCooldown" TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {scaleInCooldown :: Maybe (Value Integer)
scaleInCooldown = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScaleInCooldown" TargetTrackingConfigurationProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "ScaleOutCooldown" TargetTrackingConfigurationProperty where
  type PropertyType "ScaleOutCooldown" TargetTrackingConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "ScaleOutCooldown" TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType "ScaleOutCooldown" TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty
        {scaleOutCooldown :: Maybe (Value Integer)
scaleOutCooldown = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ScaleOutCooldown" TargetTrackingConfigurationProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
targetValue :: Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
instance Property "TargetValue" TargetTrackingConfigurationProperty where
  type PropertyType "TargetValue" TargetTrackingConfigurationProperty = Value Prelude.Double
  set :: PropertyType "TargetValue" TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
-> TargetTrackingConfigurationProperty
set PropertyType "TargetValue" TargetTrackingConfigurationProperty
newValue TargetTrackingConfigurationProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
Value Double
haddock_workaround_ :: TargetTrackingConfigurationProperty -> ()
customizedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: TargetTrackingConfigurationProperty -> Maybe (Value Bool)
estimatedInstanceWarmup :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
predefinedScalingMetricSpecification :: TargetTrackingConfigurationProperty
-> Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
scaleOutCooldown :: TargetTrackingConfigurationProperty -> Maybe (Value Integer)
targetValue :: TargetTrackingConfigurationProperty -> Value Double
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
targetValue :: Value Double
..}
    = TargetTrackingConfigurationProperty {targetValue :: Value Double
targetValue = PropertyType "TargetValue" TargetTrackingConfigurationProperty
Value Double
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe CustomizedScalingMetricSpecificationProperty
Maybe PredefinedScalingMetricSpecificationProperty
()
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
haddock_workaround_ :: ()
customizedScalingMetricSpecification :: Maybe CustomizedScalingMetricSpecificationProperty
disableScaleIn :: Maybe (Value Bool)
estimatedInstanceWarmup :: Maybe (Value Integer)
predefinedScalingMetricSpecification :: Maybe PredefinedScalingMetricSpecificationProperty
scaleInCooldown :: Maybe (Value Integer)
scaleOutCooldown :: Maybe (Value Integer)
..}