Skip to main content

AWS Budgets Notification

Project description

AWS Budgets Notification

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer)

View on Construct Hub

A construct library for creating AWS Budgets Notification to Slack with the AWS CDK.

Resources

This construct creating resource list.

  • SNS Topic
  • ChatBot SlackChannelConfiguration
  • Budgets (linked account count or self)

Install

TypeScript

npm install @gammarer/aws-budgets-notification
# or
yarn add @gammarer/aws-budgets-notification

Python

pip install gammarer.aws-budgets-notification

C# / .NET

dotnet add package Gammarer.CDK.AWS.BudgetNotification

Java

Add the following to pom.xml:

<dependency>
  <groupId>com.gammarer</groupId>
  <artifactId>aws-budgets-notification</artifactId>
</dependency>

Example

import { BudgetsNotification } from '@gammarer/aws-budgets-notification';

new BudgetsNotification(stack, 'BudgetsNotification', {
  slackWorkspaceId: 'T0XXXX111', // already AWS account linked your Slack.
  slackChannelId: 'XXXXXXXX', // already created your slack channel.
  budgetLimitAmount: 50,
  // optional linked account list
  linkedAccounts: [
    '111111111111',
    '222222222222',
  ],
});

example notification

License

This project is licensed under the Apache-2.0 License.

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

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page