PredefinedScalingMetricSpecification class
Represents a predefined metric that can be used for dynamic scaling as part of a target tracking scaling policy.
Constructors
- PredefinedScalingMetricSpecification({required ScalingMetricType predefinedScalingMetricType, String? resourceLabel})
-
PredefinedScalingMetricSpecification.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- predefinedScalingMetricType → ScalingMetricType
-
The metric type. The
ALBRequestCountPerTarget
metric type applies only to Auto Scaling groups, Spot Fleet requests, and ECS services.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, Spot Fleet request, or ECS service.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