This test looks at all CloudWatch alarms where the namespace is AWS/Lambda
and the metricName is Errors
. These are CloudWatch alarms that are specific to Lambdas.
There are two ways for it to pass:
- An alarm exists without dimensions that filter for whatever
FunctionName
the lambda has(this alarm would catch Errors across all Lambda functions) - A CloudWatch alarm specific to that Lambda Function. That is, in the
dimensions
object,FunctionName
is equal to the name of the Lambda's function. This would mean you'd see as many alarms as lambda's (in most cases). - The raw data has all lambda functions listed an all CloudWatch alarms with the namespace
AWS/Lambda
and the metricNameErrors
. So, it’s all cloudwatch alarms relevant to this test