@c3l/three-tier-vpc
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

C3L: Three-Tier-VPC

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

Please refer to general C3L documentation here.

Install this package:

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.

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,
    })
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.0
    1
    • latest

Version History

Package Sidebar

Install

npm i @c3l/three-tier-vpc

Weekly Downloads

1

Version

1.3.0

License

ISC

Unpacked Size

21.1 kB

Total Files

11

Last publish

Collaborators

  • helloworlddan