Skip to content

Commit

Permalink
feat(aws-cloudwatch): add comparison operators (#8812)
Browse files Browse the repository at this point in the history
closes #8808

Co-authored-by: Neta Nir <neta1nir@gmail.com>
  • Loading branch information
qmg-rbass and NetaNir authored Jun 30, 2020
1 parent 719cd16 commit 7003a09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/@aws-cdk/aws-cloudwatch/lib/alarm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ export enum ComparisonOperator {
* Used only for alarms based on anomaly detection models
*/
LESS_THAN_LOWER_OR_GREATER_THAN_UPPER_THRESHOLD = 'LessThanLowerOrGreaterThanUpperThreshold',

/**
* Specified statistic is greater than the anomaly model band.
* Used only for alarms based on anomaly detection models
*/
GREATER_THAN_UPPER_THRESHOLD = 'GreaterThanUpperThreshold',

/**
* Specified statistic is lower than the anomaly model band.
* Used only for alarms based on anomaly detection models
*/
LESS_THAN_LOWER_THRESHOLD = 'LessThanLowerThreshold',
}

const OPERATOR_SYMBOLS: {[key: string]: string} = {
Expand Down

0 comments on commit 7003a09

Please sign in to comment.