[![npm version](https://badge.fury.io/js/cdk-simple-serverless.svg)](https://badge.fury.io/js/cdk-simple-serverless)
[![PyPI version](https://badge.fury.io/py/cdk-simple-serverless.svg)](https://badge.fury.io/py/cdk-simple-serverless)
[![release](https://github.com/pahud/cdk-simple-serverless/actions/workflows/release.yml/badge.svg)](https://github.com/pahud/cdk-simple-serverless/actions/workflows/release.yml)
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
# 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:
```sh
// 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.
```python
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.
```python
import { HelloRestApiService } from 'cdk-simple-serverless'
new HelloRestApiService(stack, 'Service')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pahud/cdk-simple-serverless.git",
"name": "cdk-simple-serverless",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Pahud Hsieh<pahudnet@gmail.com>",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/d9/0c/05310d2a3e70cdd0ebecd40948c2c30b076197f2da23816e77fde1554763/cdk-simple-serverless-2.0.300.tar.gz",
"platform": null,
"description": "[![npm version](https://badge.fury.io/js/cdk-simple-serverless.svg)](https://badge.fury.io/js/cdk-simple-serverless)\n[![PyPI version](https://badge.fury.io/py/cdk-simple-serverless.svg)](https://badge.fury.io/py/cdk-simple-serverless)\n[![release](https://github.com/pahud/cdk-simple-serverless/actions/workflows/release.yml/badge.svg)](https://github.com/pahud/cdk-simple-serverless/actions/workflows/release.yml)\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n# cdk-simple-serverless\n\nTiny serverless constructs wih all optional construct properties to keep it as simple as possible for demo out of the box.\n\n# Install\n\nUse the npm dist tag to opt in CDKv1 or CDKv2:\n\n```sh\n// for CDKv2\nnpm install cdk-simple-serverless\nor\nnpm install cdk-simple-serverless@latest\n\n// for CDKv1\nnpm install cdk-simple-serverless@cdkv1\n```\n\n## HelloFunction\n\nAWS Lambda function that returns `\"Hello CDK!\"` only.\n\n```python\nimport { HelloFunction } from 'cdk-simple-serverless'\n\nnew HelloFunction(stack, 'Function')\n```\n\n## HelloRestApiService\n\nAmazon API Gateway REST API service that returns `\"Hello CDK!\"` only in the HTTP response.\n\n```python\nimport { HelloRestApiService } from 'cdk-simple-serverless'\n\nnew HelloRestApiService(stack, 'Service')\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "CDK Constructs for Serverless Demo",
"version": "2.0.300",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a1b90fc0892cb8840be481b05b7849f12d44ba252d7bfdb4c78b0c62b70b2bba",
"md5": "8e753db7fe33a514d535638e2b376850",
"sha256": "08ed98aa816fda7d04b6e92422d8b706171307b3a31bd58dbe1fa4287fc1d1ed"
},
"downloads": -1,
"filename": "cdk_simple_serverless-2.0.300-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e753db7fe33a514d535638e2b376850",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 41758,
"upload_time": "2023-03-21T00:13:16",
"upload_time_iso_8601": "2023-03-21T00:13:16.718236Z",
"url": "https://files.pythonhosted.org/packages/a1/b9/0fc0892cb8840be481b05b7849f12d44ba252d7bfdb4c78b0c62b70b2bba/cdk_simple_serverless-2.0.300-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d90c05310d2a3e70cdd0ebecd40948c2c30b076197f2da23816e77fde1554763",
"md5": "928bfe144f9291066eefd08b1e5d9feb",
"sha256": "e6b37402d114c76eb151a2f2f38d614cf5e03ca8c9b1e0d1dfb9aecab816fe4b"
},
"downloads": -1,
"filename": "cdk-simple-serverless-2.0.300.tar.gz",
"has_sig": false,
"md5_digest": "928bfe144f9291066eefd08b1e5d9feb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 43247,
"upload_time": "2023-03-21T00:13:18",
"upload_time_iso_8601": "2023-03-21T00:13:18.973601Z",
"url": "https://files.pythonhosted.org/packages/d9/0c/05310d2a3e70cdd0ebecd40948c2c30b076197f2da23816e77fde1554763/cdk-simple-serverless-2.0.300.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-21 00:13:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "pahud",
"github_project": "cdk-simple-serverless.git",
"lcname": "cdk-simple-serverless"
}