ScalingPolicyPredefinedMetricSpecification

data class ScalingPolicyPredefinedMetricSpecification(val predefinedMetricType: String, val resourceLabel: String? = null)

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

Constructors

constructor(predefinedMetricType: String, resourceLabel: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric type. The ALBRequestCountPerTarget metric type applies only to Spot Fleets and ECS services.

Link copied to clipboard
val resourceLabel: String? = null

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 Spot Fleet or ECS service.