Skip to content
v2.278.0

AutoAdjustDataProperty Struct ​

Determine the budget amount for an auto-adjusting budget.

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 autoAdjustDataProperty: budgets.CfnBudget.AutoAdjustDataProperty = {
  autoAdjustType: 'autoAdjustType',

  // the properties below are optional
  historicalOptions: {
    budgetAdjustmentPeriod: 123,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_budgets as budgets

auto_adjust_data_property = budgets.CfnBudget.AutoAdjustDataProperty(
    auto_adjust_type="autoAdjustType",

    # the properties below are optional
    historical_options=budgets.CfnBudget.HistoricalOptionsProperty(
        budget_adjustment_period=123
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.budgets.*;

AutoAdjustDataProperty autoAdjustDataProperty = AutoAdjustDataProperty.builder()
        .autoAdjustType("autoAdjustType")

        // the properties below are optional
        .historicalOptions(HistoricalOptionsProperty.builder()
                .budgetAdjustmentPeriod(123)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;

var autoAdjustDataProperty = new AutoAdjustDataProperty {
    AutoAdjustType = "autoAdjustType",

    // the properties below are optional
    HistoricalOptions = new HistoricalOptionsProperty {
        BudgetAdjustmentPeriod = 123
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

autoAdjustDataProperty := &AutoAdjustDataProperty{
	AutoAdjustType: jsii.String("autoAdjustType"),

	// the properties below are optional
	HistoricalOptions: &HistoricalOptionsProperty{
		BudgetAdjustmentPeriod: jsii.Number(123),
	},
}

Properties ​

autoAdjustTypestringauto_adjust_typestrautoAdjustTypeStringAutoAdjustTypestringAutoAdjustType*string required #
The string that defines whether your budget auto-adjusts based on historical or forecasted data.
historicalOptionsoptionalIResolvable | CfnBudget.HistoricalOptionsPropertyhistorical_optionsoptionaltyping.Union[IResolvable, HistoricalOptionsProperty]historicalOptionsoptionalIResolvableHistoricalOptionsoptionalIResolvableHistoricalOptionsoptionalinterface{} #
The parameters that define or describe the historical data that your auto-adjusting budget is based on.