Utility CDK construct to setup billing alerts easily
First you need to install the package
npm install @moralesl/billing-alert
Then you can use the billing alert utility in your code:
import { BillingAlert } from "@moralesl/billing-alert";
new BillingAlert(this, "BillingAlertTenDollars", {
amount: 10,
emails: [
"[email protected]",
]
});
First you need to install the package
pip install moralesl.billing-alert
Then you can use the billing alert utility in your code:
import moralesl.billing_alert as billing_alert
billing_alert.BillingAlert(self, "BillingAlertTenDollars",
amount=10,
emails=["[email protected]"]
)