0.2.1 • Published 8 years ago

aws-status v0.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

aws-status Build Status Dependency Status Npm Package Version

Simple way for check the AWS Status from the official status page

Install

npm i --save aws-status

Usage

const awsStatus = require('aws-status');

awsStatus('us-east-1', 'EC2').then(result => {
    console.log(result.service); // EC2
    console.log(result.status); // 0
});
StatusDescription
0Service is operating normally (is ok).
1Performance issues (warning).
2Service disruption (critical problem).

API

awsStatus(region, service)

Returns a Promise with the status of service.

region

Type: string

Region you want to check.

service

Type: string

The AWS service.

Related

License

MIT © Cauê Alves