PredefinedLoadMetricSpecification class

Represents a predefined metric that can be used for predictive scaling.

Constructors

PredefinedLoadMetricSpecification({required LoadMetricType predefinedLoadMetricType, String? resourceLabel})
PredefinedLoadMetricSpecification.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
predefinedLoadMetricType LoadMetricType
The metric type.
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 for an Application Load Balancer 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