i monitor data quality of ingested data in AWS. Example:
| ID | customer | Sales | Cost |
|---|---|---|---|
| 1 | henry | 5000 | 4000 |
| 2 | melissa | 10000 | abc |
One dataset might have 20 validation checks. Each validation check creates an entry in a result table.
| validation run | validation name | checked column | unexpected values |
|---|---|---|---|
| 2021-11-04 | are values numeric | Sales | 0 |
| 2021-11-04 | are values numeric | Cost | 1 |
Now i want to create an alert when one of these entries are >0 (like in column "unexpected values").
Target should be that the alert goes to the SNS Topic. I know Cloudwatch or DynamoDB can monitor tables, but more on the infrastructure site (is data ingested,...). Do you know how i can monitor and create an event if certain values are present in the table?