aws-samples / amazon-cloudwatch-auto-alarms

Automatically create and configure Amazon CloudWatch alarms for EC2 instances, RDS, and AWS Lambda using tags for standard and custom CloudWatch Metrics.
MIT No Attribution
90 stars 84 forks source link

event name checks #41

Open mpechner-akasa opened 1 year ago

mpechner-akasa commented 1 year ago

For lambda, I know it has not change often at all, but instead of looking for 'DeleteFunction20150331' and 'TagResource20170331v2' why not just test for starts with "DeleteFunction" and "TagResource"

Looking at: https://gist.github.com/pkazi/8b5a1374771f6efa5d55b92d8835718c

There are/have been 3 values: TagResource TagResource20170331 TagResource20170331v2