Class: Aws::Budgets::Types::HistoricalOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::Budgets::Types::HistoricalOptions
- Defined in:
- gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb
Overview
The parameters that define or describe the historical data that your auto-adjusting budget is based on.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#budget_adjustment_period ⇒ Integer
The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount.
-
#look_back_available_periods ⇒ Integer
The integer that describes how many budget periods in your
BudgetAdjustmentPeriodare included in the calculation of your currentBudgetLimit.
Instance Attribute Details
#budget_adjustment_period ⇒ Integer
The number of budget periods included in the moving-average
calculation that determines your auto-adjusted budget amount. The
maximum value depends on the TimeUnit granularity of the budget:
For the
DAILYgranularity, the maximum value is60.For the
MONTHLYgranularity, the maximum value is12.For the
QUARTERLYgranularity, the maximum value is4.For the
ANNUALLYgranularity, the maximum value is1.
1615 1616 1617 1618 1619 1620 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1615 class HistoricalOptions < Struct.new( :budget_adjustment_period, :look_back_available_periods) SENSITIVE = [] include Aws::Structure end |
#look_back_available_periods ⇒ Integer
The integer that describes how many budget periods in your
BudgetAdjustmentPeriod are included in the calculation of your
current BudgetLimit. If the first budget period in your
BudgetAdjustmentPeriod has no cost data, then that budget period
isn’t included in the average that determines your budget limit.
For example, if you set BudgetAdjustmentPeriod as 4 quarters,
but your account had no cost data in the first quarter, then only
the last three quarters are included in the calculation. In this
scenario, LookBackAvailablePeriods returns 3.
You can’t set your own LookBackAvailablePeriods. The value is
automatically calculated from the BudgetAdjustmentPeriod and your
historical cost data.
1615 1616 1617 1618 1619 1620 |
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1615 class HistoricalOptions < Struct.new( :budget_adjustment_period, :look_back_available_periods) SENSITIVE = [] include Aws::Structure end |