# ecs-expose-port

> Expose AWS ECS container port locally via SSH

Latest version **1.0.1** (published 2021-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install ecs-expose-port
pnpm add ecs-expose-port
yarn add ecs-expose-port
bun add ecs-expose-port
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-02-02 |
| First published | 2021-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mathias Lundell |
| Maintainers | luddd3 |

## Links

- npm: https://www.npmjs.com/package/ecs-expose-port
- Repository: https://github.com/luddd3/ecs-expose-port
- Issues: https://github.com/luddd3/ecs-expose-port/issues
- npm.io page: https://npm.io/package/ecs-expose-port

## Dependencies (3)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.831.0
- [get-port](https://npm.io/package/get-port.md) ^5.1.1
- [node-ssh-forward](https://npm.io/package/node-ssh-forward.md) ^0.7.2

## Recent versions

- 1.0.1 (latest) — 2021-02-02
- 1.0.0 — 2021-02-02

## README

# ecs-expose-port

Auto naming of objects for easier debugging.

```
npm install ecs-expose-port
```

## Usage

``` js
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

---
_Source: https://npm.io/package/ecs-expose-port · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
