https://github.com/niku/lambda-function-using-cdk-in-java
A lambda function using CDK in Java
https://github.com/niku/lambda-function-using-cdk-in-java
Last synced: 8 months ago
JSON representation
A lambda function using CDK in Java
- Host: GitHub
- URL: https://github.com/niku/lambda-function-using-cdk-in-java
- Owner: niku
- License: mit
- Created: 2020-08-13T17:14:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T00:23:19.000Z (almost 6 years ago)
- Last Synced: 2025-03-02T04:17:19.255Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 141 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A lambda function using CDK in Java
A Java example making AWS lambda function and then deploy using CDK.
# Requirements
- [The AWS CDK Toolkit](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html#getting_started_prerequisites)
- [Amazon Corretto 11](https://docs.aws.amazon.com/ja_jp/corretto/latest/corretto-11-ug/downloads-list.html)
# Usage
First of all, execute following commands:
```
cd cdk
cdk bootstrap
cdk synth
cdk deploy
```
Next, access to api-gateway page in AWS console, then click `Invoke URL`.

You will view a text `200 OK` on your browser.
# LICENSE
[MIT](./LICENSE)