Class: AWSCDK::IoTSiteWise::CfnComputationModel::AnomalyDetectionComputationModelConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnComputationModel::AnomalyDetectionComputationModelConfigurationProperty
- Defined in:
- io_t_site_wise/cfn_computation_model.rb
Overview
Contains the configuration for anomaly detection computation models.
Instance Attribute Summary collapse
-
#input_properties ⇒ String
readonly
The list of input properties for the anomaly detection model.
-
#result_property ⇒ String
readonly
The property where the anomaly detection results will be stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_properties:, result_property:) ⇒ AnomalyDetectionComputationModelConfigurationProperty
constructor
A new instance of AnomalyDetectionComputationModelConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_properties:, result_property:) ⇒ AnomalyDetectionComputationModelConfigurationProperty
Returns a new instance of AnomalyDetectionComputationModelConfigurationProperty.
607 608 609 610 611 612 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 607 def initialize(input_properties:, result_property:) @input_properties = input_properties Jsii::Type.check_type(@input_properties, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputProperties") @result_property = result_property Jsii::Type.check_type(@result_property, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resultProperty") end |
Instance Attribute Details
#input_properties ⇒ String (readonly)
The list of input properties for the anomaly detection model.
618 619 620 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 618 def input_properties @input_properties end |
#result_property ⇒ String (readonly)
The property where the anomaly detection results will be stored.
623 624 625 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 623 def result_property @result_property end |
Class Method Details
.jsii_properties ⇒ Object
625 626 627 628 629 630 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 625 def self.jsii_properties { :input_properties => "inputProperties", :result_property => "resultProperty", } end |
Instance Method Details
#to_jsii ⇒ Object
632 633 634 635 636 637 638 639 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 632 def to_jsii result = {} result.merge!({ "inputProperties" => @input_properties, "resultProperty" => @result_property, }) result.compact end |