You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cdk-simple-serverless

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk-simple-serverless

CDK Constructs for Serverless Demo

2.0.300
Source
pipPyPI
Maintainers
1

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')

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts