AutoScalingThresholds class
Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks Stacks starts or stops load-based instances.
Constructors
Properties
-
alarms
→ List<
String> ? -
Custom Cloudwatch auto scaling alarms, to be used as thresholds. This
parameter takes a list of up to five alarm names, which are case sensitive
and must be in the same region as the stack.
final
- cpuThreshold → double?
-
The CPU utilization threshold, as a percent of the available CPU. A value of
-1 disables the threshold.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreMetricsTime → int?
-
The amount of time (in minutes) after a scaling event occurs that AWS
OpsWorks Stacks should ignore metrics and suppress additional scaling
events. For example, AWS OpsWorks Stacks adds new instances following an
upscaling event but the instances won't start reducing the load until they
have been booted and configured. There is no point in raising additional
scaling events during that operation, which typically takes several minutes.
IgnoreMetricsTime
allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.final - instanceCount → int?
-
The number of instances to add or remove when the load exceeds a threshold.
final
- loadThreshold → double?
-
The load threshold. A value of -1 disables the threshold. For more
information about how load is computed, see Load
(computing).
final
- memoryThreshold → double?
-
The memory utilization threshold, as a percent of the available memory. A
value of -1 disables the threshold.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thresholdsWaitTime → int?
-
The amount of time, in minutes, that the load must exceed a threshold before
more instances are added or removed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited