Skip to content
This AWS Lambda fucntion puts datapoinsts fetched by Cost Explorer API to CloudWatch custom metrics.
Rust Makefile Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tools
.dockerignore
.gitignore
.rustfmt.toml
Cargo.lock
Cargo.toml
Dockerfile
LICENSE.txt
Makefile
README.md
event.example.json
template.example.yml

README.md

ri-utilization-plotter

This AWS Lambda fucntion puts datapoinsts fetched by Cost Explorer API to CloudWatch custom metrics.

Build and Debug with SAM CLI

Copy event.example.json to evnet.json and template.example.yml to template.yml and edit them for your development environment before follow bellow instructions.

make init # You need this command at first time building
make build
make run

Build for Releasing

make init # You need this command at first time building
make release_build

Customize

This function is designed to be invoked periodically by a CloudWatch Event. You can customize the parameter for Cost Explorer API and metrics' namespace and metric name by configuring input of target configuration of event rules. (See event.example.json)

License

MIT

You can’t perform that action at this time.