This is a Lambda application for demo that analyzes AWS Health event messages from SNS Topic, creates Google Hangout card messages, and sends real-time notifications.
git clone https://github.com/simplydemo/aws-health-delibird.git
cd aws-health-delibird
# Install custom library (just one time)
mvn install:install-file \
-Dfile=libs/json-sql-1.0.0.jar \
-DgroupId=io.github.thenovaworks \
-DartifactId=json-sql \
-Dversion=1.0.0 \
-Dpackaging=jar
mvn clean package -DskipTests=true
docker build -t "aws-health-delibird:v1.0-local" -f ./cicd/docker/Dockerfile.corretto .
docker run --rm \
-p 9000:8080 \
-e AWS_LAMBDA_FUNCTION_NAME=aws-health-delibird-lambda \
-e AWS_LAMBDA_FUNCTION_MEMORY_SIZE=512 \
-e AWS_LAMBDA_FUNCTION_TIMEOUT=60 \
-e AWS_REGION=ap-northeast-2 \
-e PROFILE_ACTIVE=local \
-e GCHAT_WEBHOOK_URL="<google-hangout-webhook-url>" \
--name aws-health-delibird-lambda aws-health-delibird:v1.0-local
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d @./cicd/docker/event.json -H "Content-Type: application/json"
- SAM 모델을 통한 로컬 테스트 가이드
- docker 컨테이너를 통한 로컬 테스트 가이드
- docker-hub
- sdk-for-kotlin
- aws-doc-sdk-examples
- SageMakerLambdaFunction
- JDK Releases