cdk-edgedb
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

cdk-edgedb

See cdk-edgedb-demo for a demo service making use of this construct.

Architecture

Usage (within a CDK Application)

If you're not familiar with using AWS CDK to build on AWS, please check out the following resources:

This CDK construct can be added to your CDK application by installing it from NPM:

npm install cdk-edgedb

Using custom domain and public CA (Let's Encrypt) signed TLS certificate

Where hostedZoneId and zoneName match a domain that exists within your AWS account as a Route53 hosted zone.

import * as edgedb from 'cdk-edgedb';
...
const edgeDB = new edgedb.EdgeDB(this, 'EdgeDB', {
    customDomain: {
        hostedZoneId: 'ZRZFDEAGRDZ0K',
        zoneName: 'yourdomain.com',
        name: 'edgedb.yourdomain.com',
        email: 'yourname@emailprovider.com',
    },
});

Using auto-generated NLB (Network Load Balancer) endpoint and self-signed certificates

import * as edgedb from 'cdk-edgedb';
...
const edgeDB = new edgedb.EdgeDB(this, 'EdgeDB');

Turning off high availability (single EdgeDB/Aurora instance instead of two)

import * as edgedb from 'cdk-edgedb';
...
const edgeDB = new edgedb.EdgeDB(this, 'EdgeDB', {
    highAvailability: false,
});

See API.md

Readme

Keywords

Package Sidebar

Install

npm i cdk-edgedb

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Unpacked Size

231 kB

Total Files

13

Last publish

Collaborators

  • aaronbrighton