Skip to content

tsukuboshi/sam-notify-aws-billing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sam-notify-aws-billing

Overview

This system will notify you of the AWS billing amount via Email, Slack, or LINE in the following message format.

  • Title
AWS Billing Notification (mm/dd~mm/dd) : <Total Cost> USD
  • Message
・<Service Name>: <Service Cost> USD
・<Service Name>: <Service Cost> USD
...

Diagram

diagram

Deployment

  1. (If you want to notify via Slack) Obtain the webhook URL by referring to the following.
  1. (If you want to notify via LINE) Obtain a Perspnal Access Token by referring to the following.
  1. Clone this repository.
git clone https://github.com/tsukuboshi/sam-notify-aws-billing.git
cd sam-notify-aws-billing
  1. Build the SAM application.
sam build
  1. Deploy the SAM application.
  • For Email
sam deploy --parameter-overrides \
  EmailAddress=<Address>
  • For Slack
sam deploy --parameter-overrides \
  SlackWebhookUrl=<WebHookURL>
  • For LINE
sam deploy --parameter-overrides \
  LineAccessToken=<AccessToken>
  1. (If you want to notify via LINE) Approve the email subscription to the SNS topic refer to the following.

About

AWS請求額通知システム用SAMアプリ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages