Skip to content

Latest commit

 

History

History

budget

budget

A Wing library for working with AWS Budgets

Prerequisites

Installation

npm i @winglibs/budget

Usage

⚠️ The budget refers to the entire account and not just for the current project!

Add your budget alert to the code:

bring budget;

new budget.Alert(
  name: "Test",
  amount: 10,
  emailAddresses: ["[email protected]"],
);

Note: ​The budget amount is in USD.

You get an alert when your monthly payment goes over your budget.

TODO

  • Set a budget alert only for resources with certain tags.
  • Allow to perform automatic actions when the budget runs out.

License

This library is licensed under the MIT License.