1.0.1 • Published 3 years ago

ecs-expose-port v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

ecs-expose-port

Auto naming of objects for easier debugging.

npm install ecs-expose-port

Usage

const ecsExposePort = require('ecs-expose-port')

const { connection, port } = await ecsExposePort({
  service: 'service_name',
  username: 'ec2-user',
  containerPort: 80
})

// Do something with port
// E.g. curl http://localhost:{port}

await connection.shutdown()

License

MIT