# AWS Budgets Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as budgets from 'aws-cdk-lib/aws-budgets';
```

Python:

```python
import aws_cdk.aws_budgets as budgets
```

Java:

```java
import software.amazon.awscdk.services.budgets.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Budgets;
```

Golang:

```go
import budgets "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Budgets construct libraries](https://constructs.dev/search?q=budgets)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Budgets resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Budgets.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Budgets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Budgets.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnBudget`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.html) Construct (L1) The `AWS::Budgets::Budget` resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.
- [`CfnBudgetsAction`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.html) Construct (L1) The `AWS::Budgets::BudgetsAction` resource enables you to take predefined actions that are initiated when a budget threshold has been exceeded.

### Structs

- [`CfnBudget.AutoAdjustDataProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.AutoAdjustDataProperty.html) Struct Determine the budget amount for an auto-adjusting budget.
- [`CfnBudget.BudgetDataProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.BudgetDataProperty.html) Struct Represents the output of the `CreateBudget` operation.
- [`CfnBudget.CostCategoryValuesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.CostCategoryValuesProperty.html) Struct The cost category values used for filtering the costs.
- [`CfnBudget.CostTypesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.CostTypesProperty.html) Struct The types of cost that are included in a `COST` budget, such as tax and subscriptions.
- [`CfnBudget.ExpressionDimensionValuesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.ExpressionDimensionValuesProperty.html) Struct Contains the specifications for the filters to use for your request.
- [`CfnBudget.ExpressionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.ExpressionProperty.html) Struct Use Expression to filter in various Budgets APIs.
- [`CfnBudget.HistoricalOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.HistoricalOptionsProperty.html) Struct The parameters that define or describe the historical data that your auto-adjusting budget is based on.
- [`CfnBudget.NotificationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.NotificationProperty.html) Struct A notification that's associated with a budget. A budget can have up to ten notifications.
- [`CfnBudget.NotificationWithSubscribersProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.NotificationWithSubscribersProperty.html) Struct A notification with subscribers.
- [`CfnBudget.ResourceTagProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.ResourceTagProperty.html) Struct The tag structure that contains a tag key and value.
- [`CfnBudget.SpendProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.SpendProperty.html) Struct The amount of cost or usage that's measured for a budget.
- [`CfnBudget.SubscriberProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.SubscriberProperty.html) Struct The `Subscriber` property type specifies who to notify for a Billing and Cost Management budget notification.
- [`CfnBudget.TagValuesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.TagValuesProperty.html) Struct The values that are available for a tag.
- [`CfnBudget.TimePeriodProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudget.TimePeriodProperty.html) Struct The period of time that is covered by a budget.
- [`CfnBudgetProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetProps.html) Struct Properties for defining a `CfnBudget`.
- [`CfnBudgetsAction.ActionThresholdProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.ActionThresholdProperty.html) Struct The trigger threshold of the action.
- [`CfnBudgetsAction.DefinitionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.DefinitionProperty.html) Struct The definition is where you specify all of the type-specific parameters.
- [`CfnBudgetsAction.IamActionDefinitionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.IamActionDefinitionProperty.html) Struct The AWS Identity and Access Management ( IAM ) action definition details.
- [`CfnBudgetsAction.ResourceTagProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.ResourceTagProperty.html) Struct The tag structure that contains a tag key and value.
- [`CfnBudgetsAction.ScpActionDefinitionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.ScpActionDefinitionProperty.html) Struct The service control policies (SCP) action definition details.
- [`CfnBudgetsAction.SsmActionDefinitionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.SsmActionDefinitionProperty.html) Struct The Amazon EC2 Systems Manager ( SSM ) action definition details.
- [`CfnBudgetsAction.SubscriberProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsAction.SubscriberProperty.html) Struct The subscriber to a budget notification.
- [`CfnBudgetsActionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_budgets.CfnBudgetsActionProps.html) Struct Properties for defining a `CfnBudgetsAction`.
