interface HistoricalOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Budgets.CfnBudget.HistoricalOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudget_HistoricalOptionsProperty |
Java | software.amazon.awscdk.services.budgets.CfnBudget.HistoricalOptionsProperty |
Python | aws_cdk.aws_budgets.CfnBudget.HistoricalOptionsProperty |
TypeScript | aws-cdk-lib » aws_budgets » CfnBudget » HistoricalOptionsProperty |
The parameters that define or describe the historical data that your auto-adjusting budget is based on.
Example
// 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
Name | Type | Description |
---|---|---|
budget | number | The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. |
budgetAdjustmentPeriod
Type:
number
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
DAILY
granularity, the maximum value is60
. - For the
MONTHLY
granularity, the maximum value is12
. - For the
QUARTERLY
granularity, the maximum value is4
. - For the
ANNUALLY
granularity, the maximum value is1
.