AutoScalingPolicy class
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
Constructors
-
AutoScalingPolicy.new({required ScalingConstraints constraints, required List<
ScalingRule> rules})
Properties
- constraints → ScalingConstraints
-
The upper and lower EC2 instance limits for an automatic scaling policy.
Automatic scaling activity will not cause an instance group to grow above or
below these limits.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rules
→ List<
ScalingRule> -
The scale-in and scale-out rules that comprise the automatic scaling policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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