0.0.34 • Published 12 months ago

@condensetech/cdk-lib v0.0.34

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Condense Opinionated CDK Library

This library contains constructs and stacks we use across our projects.

Networking

Networking provides a VPC already configured with public, private and isolated subnets.

It requires setting a cidr or IPAM allocation, to avoid accidental usage of default CIDR.

Optionally, it also creates a bastion host.

It is available as a construct:

class MyStack extends cdk.Stack {
  constructor(scope: Construct, id :string, props?: cdk.StackProps) {
    super(scope, id, props);
    const networking = new Networking(this, 'Networking', {
      cidr: ec2.IpAddresses.cidr('10.0.0.0/16'),
    });
  }
}

or as a stack:

const app = new cdk.App();

const networking = new NetworkingStack(app, 'networking', {
  cidr: ec2.IpAddresses.cidr('10.0.0.0/16'),
})

Both of them implements the INetworking interface, allowing to easily compose your infrastructure.

Database

Supported database constructs:

And their relative stack version:

All of them implements the IDatabase interface, allowing to easily compose your infrastructure.

Other useful constructs

Naive BasicAuth Cloudfront Function

NaiveBasicAuthCloudfrontFunction is useful when a basic protection layer must be added to Cloudfront (for SPAs or static sites) and you just need to avoid crawlers and unwanted visitors.

0.0.30

12 months ago

0.0.31

12 months ago

0.0.32

12 months ago

0.0.33

12 months ago

0.0.34

12 months ago

0.1.0-rc.1

12 months ago

0.0.23

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.20

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago