Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@condensetech/cdk-lib

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@condensetech/cdk-lib

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

  • 0.0.22
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 16 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc