cdk-alps-graph-ql
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

NPM version PyPI version Maven Central .NET version Release

CDK Alps Graph QL

The CDK Alps Graph QL construct generates an AWS Graph QL out of an ALPS API yaml file such src/todo-alps.yaml. ALPS API is an abstraction of APIs like REST API or Graph QL. More about the ALPS API see in the ALPS API section.

The AWS CDK construct repo was generated with Projen as awscdk-construct

Thanks

ALPS API

The ALPS API converter is on GitHub on: https://github.com/mamund/alps-unified

Very useful to understand the idea of ALPS API is this video on YT: https://www.youtube.com/watch?v=oG6-r3UdenE

Sample

const app = new cdk.App();

const stack = new cdk.Stack(app, 'alps-graph-ql-stack', { env });

new AlpsGraphQL(stack, 'AlpsGraphQL', {
  name: 'demo',
  alpsSpecFile: 'src/todo-alps.yaml',
});

CDK stack commands

Diff

npx cdk --app lib/integ.default.js --profile <profile> diff

Deploy

npx cdk --app lib/integ.default.js --profile <profile> deploy

Destroy

npx cdk --app lib/integ.default.js --profile <profile> destroy

Limitations / Issues / TODOS

  • only ALPS YAML files are supported. ALPS JSON files will be added

Package Sidebar

Install

npm i cdk-alps-graph-ql

Weekly Downloads

32

Version

0.0.9

License

Apache-2.0

Unpacked Size

951 kB

Total Files

113

Last publish

Collaborators

  • damadden88