Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gammarers/aws-daily-cost-usage-reporter
https://github.com/gammarers/aws-daily-cost-usage-reporter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gammarers/aws-daily-cost-usage-reporter
- Owner: gammarers
- License: apache-2.0
- Created: 2023-03-09T10:43:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T09:01:23.000Z (5 months ago)
- Last Synced: 2024-08-06T11:44:14.673Z (5 months ago)
- Language: TypeScript
- Size: 1.77 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Daily Cost Usage Reports
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
```shell
npm install @gammarer/aws-daily-cost-usage-repoter
# or
yarn add @gammarer/aws-daily-cost-usage-repoter
```### Python
```shell
pip install gammarer.aws-daily-cost-usage-repoter
```## Example
```shell
npm install @gammarer/aws-daily-cost-usage-repoter
``````typescript
import { CostGroupType, DailyCostUsageReporter } from '@gammarer/aws-daily-cost-usage-repoter';new DailyCostUsageReporter(stack, 'DailyCostUsageReporter', {
slackWebhookUrl: 'https://hooks.slack.com/services/xxxxxxxxxx', // already created slack webhook url
slackPostChannel: 'example-channel', // already created slack channel
costGroupType: CostGroupType.SERVICES,
});```
## License
This project is licensed under the Apache-2.0 License.