PredefinedMetricSpecification class

Represents a predefined metric for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

Constructors

PredefinedMetricSpecification({required MetricType predefinedMetricType, String? resourceLabel})
PredefinedMetricSpecification.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
predefinedMetricType MetricType
The metric type. The following predefined metrics are available:
final
resourceLabel String?
Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group attached to the Auto Scaling group.
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