You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs/aws_appautoscaling_policy: link AWS API reference for predictive metric types
Address review feedback from @justinretzolk on PR #47641: enum values
change over time, so link to the canonical AWS API reference for each
of the three predictive scaling metric specifications instead of
hard-coding the list of valid values inline.
The note that resource_label is required for ALB-based metric types is
retained but no longer parenthetically lists the specific ALB values,
since those are also documented at the linked references.
Copy file name to clipboardExpand all lines: website/docs/r/appautoscaling_policy.html.markdown
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,22 +297,22 @@ The `predictive_scaling_policy_configuration` `metric_specification` `customized
297
297
298
298
The `predictive_scaling_policy_configuration``metric_specification``predefined_load_metric_specification` configuration block supports the following arguments:
299
299
300
-
*`predefined_metric_type` - (Required) Predefined load metric type. Valid values are `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `ECSServiceCPUUtilization`, `ECSServiceMemoryUtilization`, `ECSServiceTotalCPUUtilization`, `ECSServiceTotalMemoryUtilization`, `ALBRequestCount`, `ALBRequestCountPerTarget`, and `TotalALBRequestCount`.
301
-
*`resource_label` - (Optional) Label that uniquely identifies a target group. Required when `predefined_metric_type` is one of the ALB-based values (`ALBRequestCount`, `ALBRequestCountPerTarget`, `TotalALBRequestCount`).
300
+
*`predefined_metric_type` - (Required) Predefined load metric type. See the [`PredictiveScalingPredefinedLoadMetricSpecification`](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredictiveScalingPredefinedLoadMetricSpecification.html) AWS API reference for valid values.
301
+
*`resource_label` - (Optional) Label that uniquely identifies a target group. Required when `predefined_metric_type` is an ALB-based value.
The `predictive_scaling_policy_configuration``metric_specification``predefined_metric_pair_specification` configuration block supports the following arguments:
306
306
307
-
*`predefined_metric_type` - (Required) Pair of predefined metrics (one load metric and one scaling metric) to use. Valid values are `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `ECSServiceCPUUtilization`, `ECSServiceMemoryUtilization`, `ECSServiceTotalCPUUtilization`, `ECSServiceTotalMemoryUtilization`, `ALBRequestCount`, `ALBRequestCountPerTarget`, and `TotalALBRequestCount`.
308
-
*`resource_label` - (Optional) Label that uniquely identifies a specific target group from which to determine the total and average request count. Required when `predefined_metric_type` is one of the ALB-based values (`ALBRequestCount`, `ALBRequestCountPerTarget`, `TotalALBRequestCount`).
307
+
*`predefined_metric_type` - (Required) Pair of predefined metrics (one load metric and one scaling metric) to use. See the [`PredictiveScalingPredefinedMetricPairSpecification`](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredictiveScalingPredefinedMetricPairSpecification.html) AWS API reference for valid values.
308
+
*`resource_label` - (Optional) Label that uniquely identifies a specific target group from which to determine the total and average request count. Required when `predefined_metric_type` is an ALB-based value.
The `predictive_scaling_policy_configuration``metric_specification``predefined_scaling_metric_specification` configuration block supports the following arguments:
313
313
314
-
*`predefined_metric_type` - (Required) Predefined scaling metric type. Valid values are `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `ECSServiceCPUUtilization`, `ECSServiceMemoryUtilization`, `ECSServiceTotalCPUUtilization`, `ECSServiceTotalMemoryUtilization`, `ALBRequestCount`, `ALBRequestCountPerTarget`, and `TotalALBRequestCount`.
315
-
*`resource_label` - (Optional) Label that uniquely identifies a specific target group from which to determine the average request count. Required when `predefined_metric_type` is one of the ALB-based values (`ALBRequestCount`, `ALBRequestCountPerTarget`, `TotalALBRequestCount`).
314
+
*`predefined_metric_type` - (Required) Predefined scaling metric type. See the [`PredictiveScalingPredefinedScalingMetricSpecification`](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredictiveScalingPredefinedScalingMetricSpecification.html) AWS API reference for valid values.
315
+
*`resource_label` - (Optional) Label that uniquely identifies a specific target group from which to determine the average request count. Required when `predefined_metric_type` is an ALB-based value.
0 commit comments