Skip to content

gammarers/aws-daily-cost-usage-report-stack

Repository files navigation

AWS Daily Cost Usage Report Stack

GitHub npm (scoped) PyPI GitHub Workflow Status (branch) GitHub release (latest SemVer)

AWS Cost And Usage report to Slack on daily 09:01.

  • Report type
    • Services
      • This is Cost by AWS Services.
    • Accounts
      • This is Cost by Linked Account (when organization master account)

Resources

This construct creating resource list.

  • Lambda function execution role
  • Lambda function
  • EventBridge Scheduler execution role
  • EventBridge Scheduler

Install

TypeScript

use by npm

npm install @gammarers/aws-daily-cost-usage-report-stack

use by yarn

yarn add @gammarers/aws-daily-cost-usage-report-stack

Python

pip install gammarers.aws-daily-cost-usage-report-stack

Example

npm install @gammarers/aws-daily-cost-usage-report-stack
import { CostGroupType, DailyCostUsageReportStack } from '@gammarer/aws-daily-cost-usage-report-stack';

new DailyCostUsageReportStack(app, 'DailyCostUsageReportStack', {
  slackToken: 'xoxb-11111111111-XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX',
  slackChannel: 'example-channel',
  costGroupType: CostGroupType.SERVICES,
});

License

This project is licensed under the Apache-2.0 License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published