amazonka-application-autoscaling-2.0: Amazon Application Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ApplicationAutoScaling.Types.SuspendedState

Description

 
Synopsis

Documentation

data SuspendedState Source #

Specifies whether the scaling activities for a scalable target are in a suspended state.

See: newSuspendedState smart constructor.

Constructors

SuspendedState' 

Fields

  • dynamicScalingInSuspended :: Maybe Bool

    Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is false.

  • dynamicScalingOutSuspended :: Maybe Bool

    Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is false.

  • scheduledScalingSuspended :: Maybe Bool

    Whether scheduled scaling is suspended. Set the value to true if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false.

Instances

Instances details
FromJSON SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

ToJSON SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Generic SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Associated Types

type Rep SuspendedState :: Type -> Type #

Read SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Show SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

NFData SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Methods

rnf :: SuspendedState -> () #

Eq SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Hashable SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

type Rep SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

type Rep SuspendedState = D1 ('MetaData "SuspendedState" "Amazonka.ApplicationAutoScaling.Types.SuspendedState" "amazonka-application-autoscaling-2.0-47S5RXZpuYuHCojBdpy5IU" 'False) (C1 ('MetaCons "SuspendedState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dynamicScalingInSuspended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "dynamicScalingOutSuspended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "scheduledScalingSuspended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newSuspendedState :: SuspendedState Source #

Create a value of SuspendedState with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dynamicScalingInSuspended:SuspendedState', suspendedState_dynamicScalingInSuspended - Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is false.

$sel:dynamicScalingOutSuspended:SuspendedState', suspendedState_dynamicScalingOutSuspended - Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is false.

$sel:scheduledScalingSuspended:SuspendedState', suspendedState_scheduledScalingSuspended - Whether scheduled scaling is suspended. Set the value to true if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false.

suspendedState_dynamicScalingInSuspended :: Lens' SuspendedState (Maybe Bool) Source #

Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is false.

suspendedState_dynamicScalingOutSuspended :: Lens' SuspendedState (Maybe Bool) Source #

Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to true if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is false.

suspendedState_scheduledScalingSuspended :: Lens' SuspendedState (Maybe Bool) Source #

Whether scheduled scaling is suspended. Set the value to true if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false.