Skip to main content

predictive_scaling_forecasts

Creates, updates, deletes, gets or lists a predictive_scaling_forecasts resource.

Overview

Namepredictive_scaling_forecasts
TypeResource
Idaws.application_autoscaling.predictive_scaling_forecasts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
capacity_forecastobjectThe capacity forecast.
load_forecastarrayThe load forecast.
update_timestring (date-time)The time the forecast was made.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_predictive_scaling_forecastselectregionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;