SecurityConfig / CloudWatchConfig / AlarmSetConfig}

AWS CloudWatch Alarm sets

Example

- regions:
- us-east-1
deploymentTargets:
organizationalUnits:
- Root
alarms:
- 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

  • AlarmSetConfig

Implements

Constructors

Properties

Constructors

Properties

alarms: AlarmConfig[] = []

List of AWS CloudWatch Alarms

Following example will create CIS-1.1-RootAccountUsage alarm for RootAccountUsage metric with notification level low

Example

alarms:
# CIS 1.1Avoid the use of the "root" account
- alarmName: CIS-1.1-RootAccountUsage
alarmDescription: Alarm for usage of "root" account
snsAlertLevel: Low (Deprecated)
snsTopicName: Alarms
metricName: RootAccountUsage
namespace: LogMetrics
comparisonOperator: GreaterThanOrEqualToThreshold
evaluationPeriods: 1
period: 300
statistic: Sum
threshold: 1
treatMissingData: notBreaching
deploymentTargets: DeploymentTargets = ...

Deployment targets for CloudWatch Alarms configuration

regions: undefined | string[] = undefined

AWS region names to configure CloudWatch Alarms

Generated using TypeDoc