# SpendProperty

The amount of cost or usage that's measured for a budget.

*Cost example:* A `Spend` for `3 USD` of costs has the following parameters:

- An `Amount` of `3`
- A `Unit` of `USD`

*Usage example:* A `Spend` for `3 GB` of S3 usage has the following parameters:

- An `Amount` of `3`
- A `Unit` of `GB`

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 spendProperty: budgets.CfnBudget.SpendProperty = {
  amount: 123,
  unit: 'unit',
};
```

## Properties

- `amount`: number (required) — The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

- `unit`: string (required) — The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
