aws-status

0.2.1 • Public • Published

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
});
Status Description
0 Service is operating normally (is ok).
1 Performance issues (warning).
2 Service 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

Package Sidebar

Install

npm i aws-status

Weekly Downloads

3

Version

0.2.1

License

MIT

Last publish

Collaborators

  • ceasbz
  • cauealves