Skip to content

moralesl/cdk-billing-alert

Repository files navigation

CDK Billing Alert utility


Build Status GitHub release


Utility CDK construct to setup billing alerts easily

Usage

Typescript

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]",
    ]
});

Python

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]"]
)

About

Utility CDK construct to setup billing alerts easily

Resources

Stars

Watchers

Forks

Packages

No packages published