Skip to main content

NPM version PyPI version Maven Central .NET 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 YouTube: 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
  • only Lambda integrations are supported and the endpoints are per default mapped to lambdas with the same name as the operationId.

Metadata

Release files for cdk-alps-spec-rest-api 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-alps-spec-rest-api 0.1.10
File Size Uploaded Provenance Actions
cdk-alps-spec-rest-api-0.1.10.tar.gz 218.3 kB Without provenance Details for cdk-alps-spec-rest-api-0.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdk-alps-spec-rest-api 0.1.10
File Interpreter ABI Platform Actions
cdk_alps_spec_rest_api-0.1.10-py3-none-any.whl Python 3 none any Details for cdk_alps_spec_rest_api-0.1.10-py3-none-any.whl

Total release size: 435.6 kB

Release files / cdk-alps-spec-rest-api-0.1.10.tar.gz

Download URL cdk-alps-spec-rest-api-0.1.10.tar.gz
Size 218.3 kB
Tags Source
SHA-256 checksum
How to use checksums
84db3d25f0cc470d47fbd89b80e953f6d64c9a20fe897ddc94f08e52922f33fb
BLAKE2b-256 checksum
How to use checksums
460f9f675b7b42bd849d946562b2b969d221d61d383022d5e7fa5a2358a68bfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Release files / cdk_alps_spec_rest_api-0.1.10-py3-none-any.whl

Download URL cdk_alps_spec_rest_api-0.1.10-py3-none-any.whl
Size 217.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af5d694fec57b77443300e3d6ab1bfe784ad9d2f308362f21fde4d8e0a3f966a
BLAKE2b-256 checksum
How to use checksums
24205e1a3b42af920e9090f766a029a2fe53868425e04ec3b1f738cc51a163ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Security for cdk-alps-spec-rest-api 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page