Class: AWSCDK::LookoutMetrics::CfnAnomalyDetector::AnomalyDetectorConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LookoutMetrics::CfnAnomalyDetector::AnomalyDetectorConfigProperty
- Defined in:
- lookout_metrics/cfn_anomaly_detector.rb
Overview
Contains information about a detector's configuration.
Instance Attribute Summary collapse
-
#anomaly_detector_frequency ⇒ String
readonly
The frequency at which the detector analyzes its source data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(anomaly_detector_frequency:) ⇒ AnomalyDetectorConfigProperty
constructor
A new instance of AnomalyDetectorConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(anomaly_detector_frequency:) ⇒ AnomalyDetectorConfigProperty
Returns a new instance of AnomalyDetectorConfigProperty.
566 567 568 569 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 566 def initialize(anomaly_detector_frequency:) @anomaly_detector_frequency = anomaly_detector_frequency Jsii::Type.check_type(@anomaly_detector_frequency, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "anomalyDetectorFrequency") end |
Instance Attribute Details
#anomaly_detector_frequency ⇒ String (readonly)
The frequency at which the detector analyzes its source data.
575 576 577 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 575 def anomaly_detector_frequency @anomaly_detector_frequency end |
Class Method Details
.jsii_properties ⇒ Object
577 578 579 580 581 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 577 def self.jsii_properties { :anomaly_detector_frequency => "anomalyDetectorFrequency", } end |
Instance Method Details
#to_jsii ⇒ Object
583 584 585 586 587 588 589 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 583 def to_jsii result = {} result.merge!({ "anomalyDetectorFrequency" => @anomaly_detector_frequency, }) result.compact end |