@stefanfreitag/aws-budget-notifier
Project description
AWS Budget Notifier
Setup AWS Budget notifications using AWS CDK. By default notifications are sent to all subscribers via e-mail.
Example usage
import * as cdk from "@aws-cdk/core";
import { CfnBudget } from "@aws-cdk/aws-budgets";
import { StackProps } from "@aws-cdk/core";
import { BudgetNotifier } from "./budget_notifier";
export class BudgetNotifierStack extends cdk.Stack {
constructor(scope: cdk.Construct, id: string, props?: StackProps) {
super(scope, id, props);
new BudgetNotifier(this, "test", {
recipients: ["john@doe.com"],
availabilityZones: ["eu-central-1", "eu-west-1"],
application: "HelloWorld",
costCenter: "myCostCenter",
limit: 10,
unit: "USD",
threshold: 75,
});
}
}
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk-budget-notifier-0.2.0.tar.gz
(22.9 kB
view hashes)
Built Distribution
Close
Hashes for cdk-budget-notifier-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a55d362a58a2b30a7c25f3af2d8c5608c8b5678d64d78c29a3d6543626aacfa6 |
|
MD5 | d22cf700a6acd13037e405924df0b582 |
|
BLAKE2b-256 | 38302386133bc726567235de0a2509466f134238b04878e18e0c9c408d46453e |
Close
Hashes for cdk_budget_notifier-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af89bce24bc27dccd4e0be51aa124e8f5f2b6e9af2828569c5541500fb7ff094 |
|
MD5 | b987562a509d3de5a78db7d1b4376d22 |
|
BLAKE2b-256 | 4c39e5b477a312bf4d349ad0e03bd07318308f9ee6bf132c99095351b05b6c11 |