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 5436229671
Update README
1 week ago
lib Better filtering 1 week ago
.eslintrc.json Add linting 10 months ago
.gitignore Initial commit 10 months ago
CHANGELOG.md Dep Update 4 weeks ago
LICENSE Initial commit 10 months ago
README.md Update README 1 week ago
index.js Add logs section 1 week ago
package-lock.json Dep Update 4 weeks ago
package.json v2.0.0 1 week 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'),
    })
);