LogAnomalyDetectorState class
Input properties used for looking up and filtering LogAnomalyDetector resources.
Constructors
-
LogAnomalyDetectorState({Input<
int?> ? anomalyVisibilityTime, Input<String?> ? arn, Input<String?> ? detectorName, Input<bool?> ? enabled, Input<String?> ? evaluationFrequency, Input<String?> ? filterPattern, Input<String?> ? kmsKeyId, Input<List< ? logGroupArnLists, Input<String> ?>String?> ? region, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new LogAnomalyDetectorState.
anomalyVisibilityTimeNumber 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 inanomalyVisibilityTime, it will be considered normal going forward and will not be detected as an anomaly. Valid Range: Minimum value of 7. Maximum value of 90.arnARN of the log anomaly detector that you just created.detectorNameName for this anomaly detector.enabledOptional.evaluationFrequencySpecifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting forevaluationFrequency. Valid Values:ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR.filterPatternYou 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.kmsKeyIdOptionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.logGroupArnListsArray containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsOptional.tagsAllOptional.const -
LogAnomalyDetectorState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
anomalyVisibilityTime
→ Input<
int?> ? -
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. Valid Range: Minimum value of 7. Maximum value of 90.final -
arn
→ Input<
String?> ? -
ARN of the log anomaly detector that you just created.
final
-
detectorName
→ Input<
String?> ? -
Name for this anomaly detector.
final
-
enabled
→ Input<
bool?> ? -
final
-
evaluationFrequency
→ Input<
String?> ? -
Specifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting for
evaluationFrequency. Valid Values:ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR.final -
filterPattern
→ Input<
String?> ? -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
String?> ? -
Optionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.
final
-
logGroupArnLists
→ Input<
List< ?String> ?> -
Array containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited