ScalingPolicyPredefinedMetricSpecificationArgs

data class ScalingPolicyPredefinedMetricSpecificationArgs(val predefinedMetricType: Output<String>, val resourceLabel: Output<String>? = null) : ConvertibleToJava<ScalingPolicyPredefinedMetricSpecificationArgs>

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

Constructors

constructor(predefinedMetricType: Output<String>, resourceLabel: Output<String>? = null)

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: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): ScalingPolicyPredefinedMetricSpecificationArgs