Skip to main content

cdk-alps-spec-rest-api

Project description

NPM version PyPI version Release

CDK Alps Spec Rest Api

The CDK Alps Spec Rest Api construct generates an AWS API Gateway 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

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
app = cdk.App()

stack = cdk.Stack(app, "my-demo-stack", env=env)

AlpsSpecRestApi(stack, "AlpsSpecRestApi",
    alps_spec_file="src/todo-alps.yaml"
)

CDK stack commands

Diff

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
npxcdk --applib / integ.default.js --profile < profile > diff

Deploy

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
npxcdk --applib / integ.default.js --profile < profile > deploy

Destroy

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
npxcdk --applib / integ.default.js --profile < profile > destroy

Limitations / Issues / TODOS

  • (AWS) Authorizer and Validator are not supported yet
  • only alps YAML files are supported. alps JSON files will be added

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-alps-spec-rest-api-0.0.10.tar.gz (500.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdk_alps_spec_rest_api-0.0.10-py3-none-any.whl (499.5 kB view details)

Uploaded Python 3

File details

Details for the file cdk-alps-spec-rest-api-0.0.10.tar.gz.

File metadata

  • Download URL: cdk-alps-spec-rest-api-0.0.10.tar.gz
  • Upload date:
  • Size: 500.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for cdk-alps-spec-rest-api-0.0.10.tar.gz
Algorithm Hash digest
SHA256 30442e42936e4995d74998291648863ecfee42d6439fa81ffa1ae79f23b1f23a
MD5 d01c509abd2791b382dbb6f50115a8d6
BLAKE2b-256 26bee8cb42201959c670840258ed27eed3a20ee646c444546c4f2c60cf05be76

See more details on using hashes here.

File details

Details for the file cdk_alps_spec_rest_api-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: cdk_alps_spec_rest_api-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 499.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for cdk_alps_spec_rest_api-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 321046747d85e44d792d167f3c8baf9483c052fee57c2553e2a4efd7adf54063
MD5 011f3d899b966565fa40fea850fa7367
BLAKE2b-256 e6148108b47ac67ec35b47eddb4c7756ef6e92f0636a12ae443b1400ac492aa2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page