SecurityConfig / CloudWatchConfig / AlarmSetConfig / AlarmConfig

AWS CloudWatch Alarm configuration

Example

- alarmName: CIS-1.1-RootAccountUsage
alarmDescription: Alarm for usage of "root" account
snsAlertLevel: Low
metricName: RootAccountUsage
namespace: LogMetrics
comparisonOperator: GreaterThanOrEqualToThreshold
evaluationPeriods: 1
period: 300
statistic: Sum
threshold: 1
treatMissingData: notBreaching

Hierarchy

  • AlarmConfig

Implements

Constructors

Properties

alarmDescription: string = ''

Description for the alarm

alarmName: string = ''

Name of the alarm

comparisonOperator: string = ''

Comparison to use to check if metric is breaching

evaluationPeriods: number = 1

The number of periods over which data is compared to the specified threshold.

metricName: string = ''

Name of the metric.

namespace: string = ''

Namespace of the metric.

period: number = 300

The period over which the specified statistic is applied.

snsAlertLevel: string = ''

Alert SNS notification level Deprecated

snsTopicName: string = ''

(OPTIONAL) SNS Topic Name SNS Topic Name from global config

statistic: string = ''

What functions to use for aggregating.

Can be one of the following:

  • “Minimum” | “min”
  • “Maximum” | “max”
  • “Average” | “avg”
  • “Sum” | “sum”
  • “SampleCount | “n”
  • “pNN.NN”
threshold: number = 1

The value against which the specified statistic is compared.

treatMissingData: string = ''

Sets how this alarm is to handle missing data points.

Generated using TypeDoc