New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-get-ip

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-get-ip

Get ip addresses of ec2 instances

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

aws-get-ip

  • Sponsored by: nearForm
  • Node: 4.x, 6.x

Return the private ip of a list of EC2 instanstes using aws-sdk

Install

npm install aws-get-ip

Usage


const Finder = require('aws-get-ip')
const getIp = new Finder({
  region: 'eu-central-1'
})

getIp.byTags({tag: 'value'}, function (err, ips) {
  console.log(ips)
})

Options

The constructor accepts the same options of aws-sdk.

You should pass in the aws region and credentials (unless using a IAM role)

Methods

byTags

List all the private ips of running instances with the specified tags

License

Copyright (c) 2013 - 2016, Paolo Chiodi and other contributors. Licensed under MIT.

FAQs

Package last updated on 16 Nov 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