kanjo
Summarize AWS Billing
Installation
npm install kanjo
Usage
; const kanjo = account: 'ACCOUNT_ID' bucket: 'BUCKET_NAME' region: 'us-east-1'; kanjo; // Output ->// { bills:// { total:// { accountId: 'xxxxxxxxxx',// accountName: 'account foo',// isPayer: true,// totalCost: 1360.57,// products: [Object] },// 'xxxxxxxxxx':// { accountId: 'xxxxxxxxxx',// accountName: 'account foo',// isPayer: false,// totalCost: 1148.807296,// products: [Object] },// 'yyyyyyyyyy':// { accountId: 'yyyyyyyyyy',// accountName: 'account bar',// isPayer: false,// totalCost: 211.706951,// products: [Object] } } }
Related
- kanjo-cli - CLI for this module
Todo
- Add tests
- Support weekly summary
- Support daily summary
- Support monthly forecast