Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 686 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 686 Bytes

aws-slack-alert

Use this to send an slack message when a new instance ec2 is created with a SSD disk.

What do you need before

How to use

Step 1: Create a lambda function using the alertNewSSDInstance.py

Step 2: Create a CloudWatch Events > Rule to trigger a lambda function

Event Pattern:

{
  "source": [
    "aws.ec2"
  ],
  "detail-type": [
    "EBS Volume Notification"
  ],
  "detail": {
    "event": [
      "createVolume",
      "modifyVolume"
    ]
  }
}