Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LoadBasedAutoScalingConfiguration = LoadBasedAutoScalingConfiguration' {}
- newLoadBasedAutoScalingConfiguration :: LoadBasedAutoScalingConfiguration
- loadBasedAutoScalingConfiguration_upScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds)
- loadBasedAutoScalingConfiguration_enable :: Lens' LoadBasedAutoScalingConfiguration (Maybe Bool)
- loadBasedAutoScalingConfiguration_downScaling :: Lens' LoadBasedAutoScalingConfiguration (Maybe AutoScalingThresholds)
- loadBasedAutoScalingConfiguration_layerId :: Lens' LoadBasedAutoScalingConfiguration (Maybe Text)
Documentation
data LoadBasedAutoScalingConfiguration Source #
Describes a layer's load-based auto scaling configuration.
See: newLoadBasedAutoScalingConfiguration
smart constructor.
LoadBasedAutoScalingConfiguration' | |
|
Instances
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.
loadBasedAutoScalingConfiguration_layerId :: Lens' LoadBasedAutoScalingConfiguration (Maybe Text) Source #
The layer ID.