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.65.tar.gz (40.3 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.65-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cdk-simple-serverless-2.0.65.tar.gz
Algorithm Hash digest
SHA256 c098f8cf19e99210b34010de38bda7efa588ef409d47f77e5918bcd32f7c8aa3
MD5 f4ace29d87419938d5dca4f7c3711971
BLAKE2b-256 0ff0ff350e419ec229f175392950ea38e1d9a9b2c44c087c131fd0164152b733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cdk_simple_serverless-2.0.65-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0ba6cc62103313fbde55f0711f37af4ac351a8fd7e5d95b44612238349660f
MD5 fed8f3d4e2dfa6cd2f43f20f9a370e44
BLAKE2b-256 c304b77ee28399d40f2dd65a92e0bea123cba5571d1978ae2ee0496124fcf596

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