Skip to main content

@stormreply/cdk-openapi

Project description

cdk-openapi

An AWS CDK construct which generates API Gateway exposed Lambda functions from an OpenAPI specification in your stack.

Usage

JavaScript

Install via npm:

$ npm i @stormreply/cdk-openapi

Add to your CDK stack:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from stormreply.cdk_openapi import OpenAPI, OpenAPIProps

api = OpenAPI(self, "SampleAPI",
    api="api.yaml"
)

Python

Install via pip:

$ pip install stormreply.cdk-openapi

Add to your CDK stack:

from stormreply.cdk_openapi import (
    OpenAPI,
    OpenAPIProps,
)

api = OpenAPI(
    self, "SampleAPI", {
      api='api.yaml'
    }
)

License

Apache 2.0

Project details


Download files

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

Files for stormreply.cdk-openapi, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size stormreply.cdk_openapi-0.0.6-py3-none-any.whl (12.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size stormreply.cdk-openapi-0.0.6.tar.gz (12.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page