2.0.9 • Published 4 months ago
@gammarers/aws-daily-cost-usage-report-stack v2.0.9
AWS Daily Cost Usage Report Stack
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)
- Services
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.