Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 2.38 KB

README.md

File metadata and controls

67 lines (46 loc) · 2.38 KB

AWS Budgets Notification

GitHub npm (scoped) PyPI Nuget 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 @gammarers/aws-budgets-notification
# or
yarn add @gammarers/aws-budgets-notification

Python

pip install gammarers.aws-budgets-notification

C# / .NET

dotnet add package Gammarers.CDK.AWS.BudgetNotification

Example

import { BudgetsNotification } from '@gammarers/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.