# AutoAdjustDataProperty

Determine the budget amount for an auto-adjusting budget.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
    }
};
```

Golang:

```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

- `autoAdjustType`: string (required) — The string that defines whether your budget auto-adjusts based on historical or forecasted data.

- `historicalOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBudget.HistoricalOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.HistoricalOptionsProperty.html) — The parameters that define or describe the historical data that your auto-adjusting budget is based on.
