@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.3.tar.gz
(22.5 kB
view hashes)
Built Distribution
Close
Hashes for cdk-budget-notifier-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a72757ccb312d447ea92ed5ece4af6a40f7f4aa54574f684eaedaa17c56f3f |
|
MD5 | 756b3ec852a43e28b401370abbbb3f60 |
|
BLAKE2b-256 | 57c2ec9c204669ed78ef3184e00b1b91a8ac74afae02fcbf43d55ba7a98a1fb1 |
Close
Hashes for cdk_budget_notifier-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1607f55dc788444b66e7e46d46e477f7cbbc15e73dad8192d1668f7a36d9afa3 |
|
MD5 | 52851daeee9356c0441ecfa692b3478c |
|
BLAKE2b-256 | eb28a92ed9f2efb001538c973a107a9ab6d0e9f80e9f119fdb97bb9688e8eceb |