An open API service indexing awesome lists of open source software.

https://github.com/aeksco/aws-api-gateway-lambda

A single AWS Lambda function via REST API endpoint through API Gateway. Built with AWS CDK + TypeScript.
https://github.com/aeksco/aws-api-gateway-lambda

Last synced: about 1 year ago
JSON representation

A single AWS Lambda function via REST API endpoint through API Gateway. Built with AWS CDK + TypeScript.

Awesome Lists containing this project

README

          

# aws-api-gateway-lambda

:briefcase: A single AWS Lambda function via REST API endpoint through API Gateway. Built with AWS CDK + TypeScript.

**Getting Started**

Run the following commands to install dependencies, build the CDK stack, and deploy the CDK Stack to AWS.

```
yarn install
yarn build
cdk bootstrap
cdk deploy
```

### Scripts

- `yarn install` - installs dependencies
- `yarn build` - builds the production-ready CDK Stack
- `yarn test` - runs Jest
- `cdk bootstrap` - bootstraps AWS Cloudformation for your CDK deploy
- `cdk deploy` - deploys the CDK stack to AWS

**Notes**

- Includes very basic tests with Jest.

**Built with**

- [TypeScript](https://www.typescriptlang.org/)
- [Jest](https://jestjs.io)
- [AWS CDK](https://aws.amazon.com/cdk/)
- [AWS API Gateway](https://aws.amazon.com/api-gateway/)
- [AWS Lambda](https://aws.amazon.com/lambda/)

**Additional Resources**

- [CDK API Reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-construct-library.html)
- [CDK TypeScript Reference](https://docs.aws.amazon.com/cdk/api/latest/typescript/api/index.html)
- [CDK Assertion Package](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/assert)
- [awesome-cdk repo](https://github.com/eladb/awesome-cdk)

**License**

Opens source under the MIT License.

Built with :heart: by [aeksco](https://twitter.com/aeksco)