Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cheslip/aws-cdk-hasura
- Owner: cheslip
- Created: 2020-03-29T14:43:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T18:33:44.000Z (almost 2 years ago)
- Last Synced: 2024-07-07T03:45:25.008Z (4 months ago)
- Topics: aws, aws-cdk, cdk, hasura, hasura-graphql
- Language: TypeScript
- Homepage:
- Size: 1000 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
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
});
```