cdk-simple-serverless
TypeScript icon, indicating that this package has built-in type declarations

2.0.300 • Public • Published

npm version PyPI version release

cdk-constructs: Experimental

cdk-simple-serverless

Tiny serverless constructs wih all optional construct properties to keep it as simple as possible for demo out of the box.

Install

Use the npm dist tag to opt in CDKv1 or CDKv2:

// for CDKv2
npm install cdk-simple-serverless
or
npm install cdk-simple-serverless@latest

// for CDKv1
npm install cdk-simple-serverless@cdkv1 

HelloFunction

AWS Lambda function that returns "Hello CDK!" only.

import { HelloFunction } from 'cdk-simple-serverless'

new HelloFunction(stack, 'Function')

HelloRestApiService

Amazon API Gateway REST API service that returns "Hello CDK!" only in the HTTP response.

import { HelloRestApiService } from 'cdk-simple-serverless'

new HelloRestApiService(stack, 'Service')

Readme

Keywords

Package Sidebar

Install

npm i cdk-simple-serverless

Weekly Downloads

1

Version

2.0.300

License

Apache-2.0

Unpacked Size

149 kB

Total Files

19

Last publish

Collaborators

  • pahud