predictive_scaling_forecasts
Creates, updates, deletes, gets or lists a predictive_scaling_forecasts resource.
Overview
| Name | predictive_scaling_forecasts |
| Type | Resource |
| Id | aws.application_autoscaling.predictive_scaling_forecasts |
Fields
The following fields are returned by SELECT queries:
- get_predictive_scaling_forecast
| Name | Datatype | Description |
|---|---|---|
capacity_forecast | object | The capacity forecast. |
load_forecast | array | The load forecast. |
update_time | string (date-time) | The time the forecast was made. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_predictive_scaling_forecast | select | region | Retrieves the forecast data for a predictive scaling policy. Load forecasts are predictions of the hourly load values using historical load data from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as predicted values for the minimum capacity that is needed on an hourly basis, based on the hourly load forecast. A minimum of 24 hours of data is required to create the initial forecasts. However, having a full 14 days of historical data results in more accurate forecasts. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_predictive_scaling_forecast
Retrieves the forecast data for a predictive scaling policy. Load forecasts are predictions of the hourly load values using historical load data from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as predicted values for the minimum capacity that is needed on an hourly basis, based on the hourly load forecast. A minimum of 24 hours of data is required to create the initial forecasts. However, having a full 14 days of historical data results in more accurate forecasts.
SELECT
capacity_forecast,
load_forecast,
update_time
FROM aws.application_autoscaling.predictive_scaling_forecasts
WHERE region = '{{ region }}' -- required
;