README
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); // 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
- aws-status-cli - CLI for this package.
License
MIT © Cauê Alves