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.
- Host: GitHub
- URL: https://github.com/aeksco/aws-api-gateway-lambda
- Owner: aeksco
- License: mit
- Created: 2022-06-02T14:22:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T10:56:25.000Z (over 2 years ago)
- Last Synced: 2025-02-10T15:50:36.178Z (over 1 year ago)
- Language: TypeScript
- Size: 756 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)