CDK Constructs for Serverless Demo
Project description
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-simple-serverless-2.0.300.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6b37402d114c76eb151a2f2f38d614cf5e03ca8c9b1e0d1dfb9aecab816fe4b |
|
MD5 | 928bfe144f9291066eefd08b1e5d9feb |
|
BLAKE2b-256 | d90c05310d2a3e70cdd0ebecd40948c2c30b076197f2da23816e77fde1554763 |
Close
Hashes for cdk_simple_serverless-2.0.300-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ed98aa816fda7d04b6e92422d8b706171307b3a31bd58dbe1fa4287fc1d1ed |
|
MD5 | 8e753db7fe33a514d535638e2b376850 |
|
BLAKE2b-256 | a1b90fc0892cb8840be481b05b7849f12d44ba252d7bfdb4c78b0c62b70b2bba |