class Amazonite::CloudWatchLogs::AnomalyDetector

Overview

Contains information about one anomaly detector in the account.

Included Modules

Defined in:

cloudwatch_logs/anomaly_detector.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(anomaly_detector_arn : String | Nil = nil, detector_name : String | Nil = nil, log_group_arn_list : Array(String) | Nil = nil, evaluation_frequency : EvaluationFrequency | Nil = nil, filter_pattern : String | Nil = nil, anomaly_detector_status : AnomalyDetectorStatus | Nil = nil, kms_key_id : String | Nil = nil, creation_time_stamp : Int64 | Nil = nil, last_modified_time_stamp : Int64 | Nil = nil, anomaly_visibility_time : Int64 | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def anomaly_detector_arn : String | Nil #

The ARN of the anomaly detector.


[View source]
def anomaly_detector_arn=(anomaly_detector_arn : String | Nil) #

The ARN of the anomaly detector.


[View source]
def anomaly_detector_status : AnomalyDetectorStatus | Nil #

Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled parameter in the UpdateLogAnomalyDetector operation.


[View source]
def anomaly_detector_status=(anomaly_detector_status : AnomalyDetectorStatus | Nil) #

Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled parameter in the UpdateLogAnomalyDetector operation.


[View source]
def anomaly_visibility_time : Int64 | Nil #

The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal.


[View source]
def anomaly_visibility_time=(anomaly_visibility_time : Int64 | Nil) #

The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal.


[View source]
def creation_time_stamp : Int64 | Nil #

The date and time when this anomaly detector was created.


[View source]
def creation_time_stamp=(creation_time_stamp : Int64 | Nil) #

The date and time when this anomaly detector was created.


[View source]
def detector_name : String | Nil #

The name of the anomaly detector.


[View source]
def detector_name=(detector_name : String | Nil) #

The name of the anomaly detector.


[View source]
def evaluation_frequency : EvaluationFrequency | Nil #

Specifies how often the anomaly detector runs and look for anomalies.


[View source]
def evaluation_frequency=(evaluation_frequency : EvaluationFrequency | Nil) #

Specifies how often the anomaly detector runs and look for anomalies.


[View source]
def filter_pattern : String | Nil #

[View source]
def filter_pattern=(filter_pattern : String | Nil) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def kms_key_id : String | Nil #

The ARN of the KMS key assigned to this anomaly detector, if any.


[View source]
def kms_key_id=(kms_key_id : String | Nil) #

The ARN of the KMS key assigned to this anomaly detector, if any.


[View source]
def last_modified_time_stamp : Int64 | Nil #

The date and time when this anomaly detector was most recently modified.


[View source]
def last_modified_time_stamp=(last_modified_time_stamp : Int64 | Nil) #

The date and time when this anomaly detector was most recently modified.


[View source]
def log_group_arn_list : Array(String) | Nil #

A list of the ARNs of the log groups that this anomaly detector watches.


[View source]
def log_group_arn_list=(log_group_arn_list : Array(String) | Nil) #

A list of the ARNs of the log groups that this anomaly detector watches.


[View source]
def validate! : Nil #

[View source]