Skip to content
v2.275.0

HistoricalOptionsProperty Struct ​

The parameters that define or describe the historical data that your auto-adjusting budget is based on.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_budgets as budgets } from 'aws-cdk-lib';
const historicalOptionsProperty: budgets.CfnBudget.HistoricalOptionsProperty = {
  budgetAdjustmentPeriod: 123,
};

Properties ​

budgetAdjustmentPeriodnumberbudget_adjustment_periodint | floatbudgetAdjustmentPeriodNumberBudgetAdjustmentPerioddoubleBudgetAdjustmentPeriod*float64required#
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
notes

The maximum value depends on the TimeUnit granularity of the budget:

  • For the DAILY granularity, the maximum value is 60 .
  • For the MONTHLY granularity, the maximum value is 12 .
  • For the QUARTERLY granularity, the maximum value is 4 .
  • For the ANNUALLY granularity, the maximum value is 1 .