Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cheslip/aws-cdk-hasura

Hasura construct for AWS CDK
https://github.com/cheslip/aws-cdk-hasura

aws aws-cdk cdk hasura hasura-graphql

Last synced: 3 months ago
JSON representation

Hasura construct for AWS CDK

Awesome Lists containing this project

README

        

# Hasura for AWS CDK

Configures a [Hasura](https://hasura.io/) instance and RDS Postgres database
for [aws-cdk](https://aws.amazon.com/cdk/)

## Installation

```
npm install aws-cdk-hasura
```

or

```
yarn add aws-cdk-hasura
```

## Usage

```typescript
import * as ec2 from "@aws-cdk/aws-ec2";
import { Hasura } from "aws-cdk-hasura";

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

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