# @c3l/three-tier-vpc

> This is a basic CDK construct spawning up a 3-tiered VPC network.

Latest version **1.3.0** (published 2019-06-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @c3l/three-tier-vpc
pnpm add @c3l/three-tier-vpc
yarn add @c3l/three-tier-vpc
bun add @c3l/three-tier-vpc
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2019-06-07 |
| First published | 2019-05-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 20.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Stamer |
| Maintainers | helloworlddan |

## Links

- npm: https://www.npmjs.com/package/@c3l/three-tier-vpc
- npm.io page: https://npm.io/package/@c3l/three-tier-vpc

## Dependencies (3)

- [aws-cdk](https://npm.io/package/aws-cdk.md) ^0.33.0
- [@aws-cdk/cdk](https://npm.io/package/@aws-cdk/cdk.md) ^0.33.0
- [@aws-cdk/aws-ec2](https://npm.io/package/@aws-cdk/aws-ec2.md) ^0.33.0

## Recent versions

- 1.3.0 (latest) — 2019-06-07
- 1.2.1 — 2019-06-07
- 1.2.0 — 2019-06-07
- 1.1.0 — 2019-06-06
- 1.0.0 — 2019-05-16
- 0.0.9 — 2019-05-16

## README

# C3L: Three-Tier-VPC

This is a basic CDK construct spawning up a 3-tiered VPC network.

Please refer to general C3L documentation [here](https://bitbucket.org/cloudreach/c3l/src/master/README.md).

Install this package:

```bash
npm i @c3l/three-tier-vpc
```

The following shows a sample usage of the `three-tier-vpc`. It will create a default 3 by 3 subnets VPC including independet route tables and NAT Gateways. The additional VPN ASN configuration will cause the VPC to also provision VPN Gateway and their respective routes. Subnet sizing defaults to a `/20` mask.

```typescript
import cdk = require('@aws-cdk/cdk');
import { ThreeTierVpc } from '../lib/three-tier-vpc';
export class TestStack extends cdk.Stack {
  constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new ThreeTierVpc(this, 'ThreeTierVPC', {
      vpnAsn: 7224,
    })
  }
}
```

---
_Source: https://npm.io/package/@c3l/three-tier-vpc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
