Options
All
  • Public
  • Public/Protected
  • All
Menu

AWS CloudWatch Metric set configuration

Hierarchy

  • MetricSetConfig

Implements

Index

Constructors

Properties

deploymentTargets: DeploymentTargets = ...

Deployment targets for CloudWatch Metrics configuration

metrics: MetricConfig[] = []

AWS CloudWatch Metric list

Following example will create metric filter RootAccountMetricFilter for aws-controltower/CloudTrailLogs log group

example
metrics:
# CIS 1.1Avoid the use of the "root" account
- filterName: RootAccountMetricFilter
logGroupName: aws-controltower/CloudTrailLogs
filterPattern: '{$.userIdentity.type="Root" && $.userIdentity.invokedBy NOT EXISTS && $.eventType !="AwsServiceEvent"}'
metricNamespace: LogMetrics
metricName: RootAccount
metricValue: "1"
regions: undefined | string[] = undefined

AWS region names to configure CloudWatch Metrics

Generated using TypeDoc