UNPKG

daily-spend-to-slack

Version:

A construct that deploys a CloudWatch cronjob that will trigger a Lambda that will fetch the yesterday usage of AWS and send it to a SNS as a spoofed ECR CloudWatch event that can be parsed by AWS Chatbot and send to Slack.

133 lines 3.2 kB
{ "name": "daily-spend-to-slack", "repository": { "type": "git", "url": "https://github.com/stroobants-dev/daily-spend-to-slack.git" }, "scripts": { "build": "npx projen build", "bump": "npx projen bump", "clobber": "npx projen clobber", "compat": "npx projen compat", "compile": "npx projen compile", "default": "npx projen default", "docgen": "npx projen docgen", "eslint": "npx projen eslint", "package": "npx projen package", "post-compile": "npx projen post-compile", "pre-compile": "npx projen pre-compile", "release": "npx projen release", "test": "npx projen test", "test:update": "npx projen test:update", "test:watch": "npx projen test:watch", "unbump": "npx projen unbump", "upgrade": "npx projen upgrade", "upgrade-projen": "npx projen upgrade-projen", "watch": "npx projen watch", "projen": "npx projen" }, "author": { "name": "Tom Stroobants", "email": "tom@stroobants.dev", "organization": false }, "devDependencies": { "@types/jest": "*", "@types/node": "^12", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "eslint": "^8", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-import": "^2.25.3", "jest": "^27.4.5", "jest-junit": "^13", "jsii": "^1.49.0", "jsii-diff": "^1.49.0", "jsii-docgen": "^4.2.14", "jsii-pacmak": "^1.49.0", "json-schema": "^0.4.0", "npm-check-updates": "^12", "projen": "^0.43.0", "standard-version": "^9", "ts-jest": "^27.1.1", "typescript": "^4.5.4" }, "peerDependencies": { "aws-cdk-lib": "^2.0.0", "constructs": "^10.0.5" }, "dependencies": { "aws-cdk-lib": "^2.1.0", "constructs": "^10.0.12" }, "bundledDependencies": [], "keywords": [ "awscdk", "budget", "cdk", "cost", "daily", "finops", "slack", "spend" ], "main": "lib/index.js", "license": "MPL-2.0", "version": "0.0.3", "jest": { "testMatch": [ "**/__tests__/**/*.ts?(x)", "**/?(*.)+(spec|test).ts?(x)" ], "clearMocks": true, "collectCoverage": true, "coverageReporters": [ "json", "lcov", "clover", "text" ], "coverageDirectory": "coverage", "coveragePathIgnorePatterns": [ "/node_modules/" ], "testPathIgnorePatterns": [ "/node_modules/" ], "watchPathIgnorePatterns": [ "/node_modules/" ], "reporters": [ "default", [ "jest-junit", { "outputDirectory": "test-reports" } ] ], "preset": "ts-jest", "globals": { "ts-jest": { "tsconfig": "tsconfig.dev.json" } } }, "types": "lib/index.d.ts", "stability": "stable", "jsii": { "outdir": "dist", "targets": { "python": { "distName": "cdk-daily-spend-to-slack", "module": "cdk_daily_spend_to_slack" } }, "tsc": { "outDir": "lib", "rootDir": "src" } }, "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." }