module Stratosphere.ApplicationAutoScaling.ScalingPolicy.StepScalingPolicyConfigurationProperty (
        module Exports, StepScalingPolicyConfigurationProperty(..),
        mkStepScalingPolicyConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ApplicationAutoScaling.ScalingPolicy.StepAdjustmentProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data StepScalingPolicyConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html>
    StepScalingPolicyConfigurationProperty {StepScalingPolicyConfigurationProperty -> ()
haddock_workaround_ :: (),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-adjustmenttype>
                                            StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
adjustmentType :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-cooldown>
                                            StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
cooldown :: (Prelude.Maybe (Value Prelude.Integer)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-metricaggregationtype>
                                            StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
metricAggregationType :: (Prelude.Maybe (Value Prelude.Text)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-minadjustmentmagnitude>
                                            StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
minAdjustmentMagnitude :: (Prelude.Maybe (Value Prelude.Integer)),
                                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustments>
                                            StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
stepAdjustments :: (Prelude.Maybe [StepAdjustmentProperty])}
  deriving stock (StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty -> Bool
(StepScalingPolicyConfigurationProperty
 -> StepScalingPolicyConfigurationProperty -> Bool)
-> (StepScalingPolicyConfigurationProperty
    -> StepScalingPolicyConfigurationProperty -> Bool)
-> Eq StepScalingPolicyConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty -> Bool
== :: StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty -> Bool
$c/= :: StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty -> Bool
/= :: StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty -> Bool
Prelude.Eq, Int -> StepScalingPolicyConfigurationProperty -> ShowS
[StepScalingPolicyConfigurationProperty] -> ShowS
StepScalingPolicyConfigurationProperty -> String
(Int -> StepScalingPolicyConfigurationProperty -> ShowS)
-> (StepScalingPolicyConfigurationProperty -> String)
-> ([StepScalingPolicyConfigurationProperty] -> ShowS)
-> Show StepScalingPolicyConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StepScalingPolicyConfigurationProperty -> ShowS
showsPrec :: Int -> StepScalingPolicyConfigurationProperty -> ShowS
$cshow :: StepScalingPolicyConfigurationProperty -> String
show :: StepScalingPolicyConfigurationProperty -> String
$cshowList :: [StepScalingPolicyConfigurationProperty] -> ShowS
showList :: [StepScalingPolicyConfigurationProperty] -> ShowS
Prelude.Show)
mkStepScalingPolicyConfigurationProperty ::
  StepScalingPolicyConfigurationProperty
mkStepScalingPolicyConfigurationProperty :: StepScalingPolicyConfigurationProperty
mkStepScalingPolicyConfigurationProperty
  = StepScalingPolicyConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), adjustmentType :: Maybe (Value Text)
adjustmentType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       cooldown :: Maybe (Value Integer)
cooldown = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       metricAggregationType :: Maybe (Value Text)
metricAggregationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       minAdjustmentMagnitude :: Maybe (Value Integer)
minAdjustmentMagnitude = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       stepAdjustments :: Maybe [StepAdjustmentProperty]
stepAdjustments = Maybe [StepAdjustmentProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties StepScalingPolicyConfigurationProperty where
  toResourceProperties :: StepScalingPolicyConfigurationProperty -> ResourceProperties
toResourceProperties StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration",
         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 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
"AdjustmentType" (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)
adjustmentType,
                            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
"Cooldown" (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)
cooldown,
                            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
"MetricAggregationType"
                              (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)
metricAggregationType,
                            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
"MinAdjustmentMagnitude"
                              (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)
minAdjustmentMagnitude,
                            Key -> [StepAdjustmentProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StepAdjustments" ([StepAdjustmentProperty] -> (Key, Value))
-> Maybe [StepAdjustmentProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [StepAdjustmentProperty]
stepAdjustments])}
instance JSON.ToJSON StepScalingPolicyConfigurationProperty where
  toJSON :: StepScalingPolicyConfigurationProperty -> Value
toJSON StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = [(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 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
"AdjustmentType" (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)
adjustmentType,
               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
"Cooldown" (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)
cooldown,
               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
"MetricAggregationType"
                 (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)
metricAggregationType,
               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
"MinAdjustmentMagnitude"
                 (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)
minAdjustmentMagnitude,
               Key -> [StepAdjustmentProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StepAdjustments" ([StepAdjustmentProperty] -> (Key, Value))
-> Maybe [StepAdjustmentProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [StepAdjustmentProperty]
stepAdjustments]))
instance Property "AdjustmentType" StepScalingPolicyConfigurationProperty where
  type PropertyType "AdjustmentType" StepScalingPolicyConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "AdjustmentType" StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
set PropertyType
  "AdjustmentType" StepScalingPolicyConfigurationProperty
newValue StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = StepScalingPolicyConfigurationProperty
        {adjustmentType :: Maybe (Value Text)
adjustmentType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "AdjustmentType" StepScalingPolicyConfigurationProperty
Value Text
newValue, Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
instance Property "Cooldown" StepScalingPolicyConfigurationProperty where
  type PropertyType "Cooldown" StepScalingPolicyConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "Cooldown" StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
set PropertyType "Cooldown" StepScalingPolicyConfigurationProperty
newValue StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = StepScalingPolicyConfigurationProperty
        {cooldown :: Maybe (Value Integer)
cooldown = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Cooldown" StepScalingPolicyConfigurationProperty
Value Integer
newValue, Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
instance Property "MetricAggregationType" StepScalingPolicyConfigurationProperty where
  type PropertyType "MetricAggregationType" StepScalingPolicyConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "MetricAggregationType" StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
set PropertyType
  "MetricAggregationType" StepScalingPolicyConfigurationProperty
newValue StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = StepScalingPolicyConfigurationProperty
        {metricAggregationType :: Maybe (Value Text)
metricAggregationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MetricAggregationType" StepScalingPolicyConfigurationProperty
Value Text
newValue, Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
instance Property "MinAdjustmentMagnitude" StepScalingPolicyConfigurationProperty where
  type PropertyType "MinAdjustmentMagnitude" StepScalingPolicyConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "MinAdjustmentMagnitude" StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
set PropertyType
  "MinAdjustmentMagnitude" StepScalingPolicyConfigurationProperty
newValue StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = StepScalingPolicyConfigurationProperty
        {minAdjustmentMagnitude :: Maybe (Value Integer)
minAdjustmentMagnitude = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MinAdjustmentMagnitude" StepScalingPolicyConfigurationProperty
Value Integer
newValue, Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
stepAdjustments :: Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
instance Property "StepAdjustments" StepScalingPolicyConfigurationProperty where
  type PropertyType "StepAdjustments" StepScalingPolicyConfigurationProperty = [StepAdjustmentProperty]
  set :: PropertyType
  "StepAdjustments" StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
-> StepScalingPolicyConfigurationProperty
set PropertyType
  "StepAdjustments" StepScalingPolicyConfigurationProperty
newValue StepScalingPolicyConfigurationProperty {Maybe [StepAdjustmentProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: StepScalingPolicyConfigurationProperty -> ()
adjustmentType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
cooldown :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
metricAggregationType :: StepScalingPolicyConfigurationProperty -> Maybe (Value Text)
minAdjustmentMagnitude :: StepScalingPolicyConfigurationProperty -> Maybe (Value Integer)
stepAdjustments :: StepScalingPolicyConfigurationProperty
-> Maybe [StepAdjustmentProperty]
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
stepAdjustments :: Maybe [StepAdjustmentProperty]
..}
    = StepScalingPolicyConfigurationProperty
        {stepAdjustments :: Maybe [StepAdjustmentProperty]
stepAdjustments = [StepAdjustmentProperty] -> Maybe [StepAdjustmentProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [StepAdjustmentProperty]
PropertyType
  "StepAdjustments" StepScalingPolicyConfigurationProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
haddock_workaround_ :: ()
adjustmentType :: Maybe (Value Text)
cooldown :: Maybe (Value Integer)
metricAggregationType :: Maybe (Value Text)
minAdjustmentMagnitude :: Maybe (Value Integer)
..}