aws-status

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

Usage no npm install needed!

<script type="module">
  import awsStatus from 'https://cdn.skypack.dev/aws-status';
</script>

README

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