Skip to content

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.

License

Notifications You must be signed in to change notification settings

simplydemo/aws-health-delibird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-health-delibird

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

git clone https://github.com/simplydemo/aws-health-delibird.git

Build Artifact

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

Build image

docker build -t "aws-health-delibird:v1.0-local" -f ./cicd/docker/Dockerfile.corretto . 

Run Container

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

Test

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d @./cicd/docker/event.json -H "Content-Type: application/json"

Appendix

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages