Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 824 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 824 Bytes

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: ["your@email.com"],
);

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.