Collect a count of AWS LB nodes. For classic and application load balancers (PR welcome for network load balancers).
Atelemetry
plugin.
const telemetry = require('@telemetry-js/telemetry')()
const lb = require('@telemetry-js/collector-aws-lb')
telemetry.task()
.collect(lb, { region: 'us-east-1', names: ['my-load-balancer'] })
.collect(lb, { region: 'us-west-2', names: ['other-load-balancer'] })
region
: string, required.names
: array of load balancers to include by name. If not specified, all load balancers (within the specified region) are included.
With npm do:
npm install @telemetry-js/collector-aws-lb
This project is kindly sponsored by Reason Cybersecurity Ltd.
MIT © Vincent Weevers