JSPM

node-elasticbeanstalk-list

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q21265F
  • License MIT

AWS Elastic Beanstalk CLI and API to list applications and environments

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-list

Usage

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: Ready

CLI

$ 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-1

License

MIT © Alexis Kofman