@winglibs/budget
Version:
43 lines (26 loc) • 824 B
Markdown
A Wing library for working with [AWS Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html)
* [winglang](https://winglang.io).
```sh
npm i @winglibs/budget
```
**⚠️ The budget refers to the entire account and not just for the current project!**
Add your budget alert to the code:
```js
bring budget;
new budget.Alert(
name: "Test",
amount: 10,
emailAddresses: ["your@email.com"],
);
```
*Note: The budget amount is in USD.*
You get an alert when your monthly payment goes over your budget.
- [ ] Set a budget alert only for resources with certain tags.
- [ ] Allow to perform automatic actions when the budget runs out.
This library is licensed under the [MIT License](./LICENSE).