aws_cloudwatch_alarm_severity

0.0.1 • Public • Published

aws_cloudwatch_alarm_severity

A classifier for AWS CloudWatch alarm events by severity level.

Synopsis

import SeverityClassifier from 'aws_cloudwatch_alarm_severity';

const isDanger = SeverityClassifier.isDangerMessage('message');
const isWarning = SeverityClassifier.isWarningMessage('message');

Methods

.isDangerMessage(msg: string): bool

Returns whether the given message is a danger or not.

.isWarningMessage(msg: string): bool

Returns whether the given message is a warning or not.

Properties

.dangerMessages

Returns a list of messages that are treated as the danger.

.warningMessages

Returns a list of messages that are treated as the danger.

Author

moznion (moznion@gmail.com)

License

MIT

/aws_cloudwatch_alarm_severity/

    Package Sidebar

    Install

    npm i aws_cloudwatch_alarm_severity

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    9.01 kB

    Total Files

    11

    Last publish

    Collaborators

    • moznion