LogAnomalyDetectorArgs

data class LogAnomalyDetectorArgs(val accountId: Output<String>? = null, val anomalyVisibilityTime: Output<Double>? = null, val detectorName: Output<String>? = null, val evaluationFrequency: Output<LogAnomalyDetectorEvaluationFrequency>? = null, val filterPattern: Output<String>? = null, val kmsKeyId: Output<String>? = null, val logGroupArnList: Output<List<String>>? = null) : ConvertibleToJava<LogAnomalyDetectorArgs>

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, anomalyVisibilityTime: Output<Double>? = null, detectorName: Output<String>? = null, evaluationFrequency: Output<LogAnomalyDetectorEvaluationFrequency>? = null, filterPattern: Output<String>? = null, kmsKeyId: Output<String>? = null, logGroupArnList: Output<List<String>>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Account ID for owner of detector

Link copied to clipboard
val anomalyVisibilityTime: Output<Double>? = null

The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.

Link copied to clipboard
val detectorName: Output<String>? = null

Name of detector

Link copied to clipboard

How often log group is evaluated

Link copied to clipboard
val filterPattern: Output<String>? = null

You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .

Link copied to clipboard
val kmsKeyId: Output<String>? = null

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

Link copied to clipboard
val logGroupArnList: Output<List<String>>? = null

List of Arns for the given log group

Functions

Link copied to clipboard
open override fun toJava(): LogAnomalyDetectorArgs