You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ingalls ed0977422a
v2.1.3
6 days ago
.github/workflows Add release manager 6 days ago
lib Add Error Log 1 week ago
.eslintrc.json Add linting 2 years ago
.gitignore Initial commit 2 years ago
.npmrc Add .npmrc 6 days ago
CHANGELOG.md Update CHANGELOG 6 days ago
LICENSE Initial commit 2 years ago
README.md Update README 8 months ago
index.js Add logs section 8 months ago
package-lock.json Update base deps 1 week ago
package.json v2.1.3 6 days ago

README.md

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: '[email protected]',
        cluster: cf.ref('APIECSCluster'),
        service: cf.getAtt('APIService', 'Name'),
        loadbalancer: cf.getAtt('APIELB', 'LoadBalancerFullName'),
        targetgroup: cf.getAtt('APITargetGroup', 'TargetGroupFullName'),
    })
);