libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Description

 
Synopsis

Documentation

data LoadBasedAutoScalingConfiguration Source #

Describes a layer's load-based auto scaling configuration.

See: newLoadBasedAutoScalingConfiguration smart constructor.

Constructors

LoadBasedAutoScalingConfiguration' 

Fields

Instances

Instances details
Eq LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Read LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Show LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Generic LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Associated Types

type Rep LoadBasedAutoScalingConfiguration :: Type -> Type #

NFData LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

Hashable LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

FromJSON LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

type Rep LoadBasedAutoScalingConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration

type Rep LoadBasedAutoScalingConfiguration = D1 ('MetaData "LoadBasedAutoScalingConfiguration" "Amazonka.OpsWorks.Types.LoadBasedAutoScalingConfiguration" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "LoadBasedAutoScalingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "upScaling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingThresholds)) :*: S1 ('MetaSel ('Just "enable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "downScaling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingThresholds)) :*: S1 ('MetaSel ('Just "layerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLoadBasedAutoScalingConfiguration :: LoadBasedAutoScalingConfiguration Source #

Create a value of LoadBasedAutoScalingConfiguration 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:upScaling:LoadBasedAutoScalingConfiguration', loadBasedAutoScalingConfiguration_upScaling - An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.

$sel:enable:LoadBasedAutoScalingConfiguration', loadBasedAutoScalingConfiguration_enable - Whether load-based auto scaling is enabled for the layer.

$sel:downScaling:LoadBasedAutoScalingConfiguration', loadBasedAutoScalingConfiguration_downScaling - An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.

$sel:layerId:LoadBasedAutoScalingConfiguration', loadBasedAutoScalingConfiguration_layerId - The layer ID.

loadBasedAutoScalingConfiguration_upScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds) Source #

An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.

loadBasedAutoScalingConfiguration_enable :: Lens' LoadBasedAutoScalingConfiguration (Maybe Bool) Source #

Whether load-based auto scaling is enabled for the layer.

loadBasedAutoScalingConfiguration_downScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds) Source #

An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.