TargetTrackingConfiguration class

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

Constructors

TargetTrackingConfiguration({required double targetValue, CustomizedMetricSpecification? customizedMetricSpecification, bool? disableScaleIn, PredefinedMetricSpecification? predefinedMetricSpecification})
TargetTrackingConfiguration.fromXml(XmlElement elem)
factory

Properties

customizedMetricSpecification CustomizedMetricSpecification?
A customized metric. You must specify either a predefined metric or a customized metric.
final
disableScaleIn bool?
Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.
final
hashCode int
The hash code for this object.
no setterinherited
predefinedMetricSpecification PredefinedMetricSpecification?
A predefined metric. You must specify either a predefined metric or a customized metric.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetValue double
The target value for the metric.
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