Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-eb-health

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-eb-health

Get the AWS Elastic Beanstalk health color and status

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

aws-eb-health Build Status Dependency Status Npm Package Version

Get the AWS Elastic Beanstalk health color and status

Install

npm i --save aws-eb-health

Usage

const awsEbHealth = require('aws-eb-health');

const environmentId = 'a-403cazdnim';

const credentials = {
    region: 'us-east-1',
    accessKeyId: 'ACCESSKEYID',
    secretAccessKey: 'SECRETACCESSKEY'
};

awsEbc(environmentId, credentials).then(response => {
    console.log(response.color); // Green
    console.log(response.healthStatus); // Ok
});

API

awsEbHealth(identifier, applicationName, credentials)

Resolve a Promise with an object.

identifier

Type: string

You can use the canonical name or environment id.

OBS: If you use canonical name is required to pass applicationName.

applicationName

Type: string

The application name of the environment.

credentials.region

Type: string

The region that their environment is available.

credentials.accessKeyId

Type: string

Acces Key Id offered by AWS Identity and Access Management (IAM)

credentials.secretAccessKey

Type: string

Secret Access Key offered by AWS Identity and Access Management (IAM)

License

MIT © Cauê Alves

Keywords

FAQs

Package last updated on 28 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc