This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

batch-alarms

2.1.3 • Public • Published

batch-alarms

Library for providing default CloudFormation dashboards & ECS Services

Installation

npm add batch-alarms

Usage

const cf = require('@mapbox/cloudfriend');
const alarms = require('batch-alarms');

cf.merge(
    template,
    alarms({
        prefix: 'CFPrefix',
        apache: cf.stackName,
        email: 'nick@ingalls.ca',
        cluster: cf.ref('APIECSCluster'),
        service: cf.getAtt('APIService', 'Name'),
        loadbalancer: cf.getAtt('APIELB', 'LoadBalancerFullName'),
        targetgroup: cf.getAtt('APITargetGroup', 'TargetGroupFullName'),
    })
);

Readme

Keywords

none

Package Sidebar

Install

npm i batch-alarms

Weekly Downloads

0

Version

2.1.3

License

ISC

Unpacked Size

17.6 kB

Total Files

8

Last publish

Collaborators

  • ingalls