aws-status
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);
console.log(result.status);
});
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