Skip to main content

CDK Constructs for Serverless Demo

Project description

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

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

cdk-simple-serverless-2.0.167.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdk_simple_serverless-2.0.167-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file cdk-simple-serverless-2.0.167.tar.gz.

File metadata

  • Download URL: cdk-simple-serverless-2.0.167.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for cdk-simple-serverless-2.0.167.tar.gz
Algorithm Hash digest
SHA256 21dbce87c18bd13aa7ad4433895313dc0966f424eeb5822f4b8c095f2baf6c58
MD5 141e49e74bf8df5392937c7d6003607e
BLAKE2b-256 03a36ff8d45b363adf589e33c16ea5969e55b303d916d4d4e97320b56fb764a8

See more details on using hashes here.

File details

Details for the file cdk_simple_serverless-2.0.167-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_simple_serverless-2.0.167-py3-none-any.whl
Algorithm Hash digest
SHA256 77920de8894139092df6702c56ad2594075fe2ac114227042cdf833dce0cbce3
MD5 e8ec9f7fa61281596d78bda2f44e58f6
BLAKE2b-256 dd064244a56b9bb78d466d22c0961f8f3219302212ad78bed9fc5281f3888386

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page