oskar-flores / aws-cdk-hasura

Hasura construct for AWS CDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hasura for AWS CDK v2

Configures a Hasura instance and RDS Postgres database for aws-cdk v2, is not compatible with CDK V1

Installation

npm install aws-cdk-v2-hasura

or

yarn add aws-cdk-v2-hasura

Usage

import * as ec2 from "aws-cdk-lib/aws-ec2";
import { Hasura } from "aws-cdk-v2-hasura";

const vpc = ec2.Vpc.fromLookup(this, "VPC", { isDefault: true });

new Hasura(this, "Hasura", {
  vpc: vpc, // VPC required
});

About

Hasura construct for AWS CDK


Languages

Language:TypeScript 98.0%Language:JavaScript 2.0%