libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

  • 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.

  • 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.

Instances

Instances details
Eq SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Read SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Show 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 #

NFData SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

Methods

rnf :: SuspendedState -> () #

Hashable SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

ToJSON SuspendedState Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.SuspendedState

FromJSON 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" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" 'False) (C1 ('MetaCons "SuspendedState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dynamicScalingInSuspended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "scheduledScalingSuspended") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "dynamicScalingOutSuspended") '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: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.

$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.

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_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.

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.