Package Exports
- node-elasticbeanstalk-list
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-elasticbeanstalk-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-elasticbeanstalk-list
Install
$ npm install --save node-elasticbeanstalk-listUsage
const eblist = require('node-elasticbeanstalk-list');
eblist().then((apps) => {
console.log(apps);
}).catch((err) => {
console.log(err);
});API
eblist([options]) => promise
options
region
Type: string
The region where your Elastic Beanstalk is deployed. This is an optional parameter because it should be defined from
the AWS_REGION env variable, but for some cases it could be convenient to override it.
promise
The returned promise give access as a string to the list of applications and their environments.
Application Name:
my-wonderful-app
Environments:
unicorns
currentVersion: app-161107_120345
cname: unicorns.eu-west-1.elasticbeanstalk.com
lastUpdate: Tue Nov 08 2016 10:20:31 GMT+0100 (CET)
status: ReadyCLI
$ npm install --global node-elasticbeanstalk-list$ eblist --help
Usage
eblist
Options
--region the region where the Elastic Beanstalk is deployed.
Examples
$ eblist
$ eblist --region eu-west-1License
MIT © Alexis Kofman