Class: AWSCDK::IoTSiteWise::CfnComputationModel::ComputationModelConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnComputationModel::ComputationModelConfigurationProperty
- Defined in:
- io_t_site_wise/cfn_computation_model.rb
Overview
The configuration for the computation model.
Instance Attribute Summary collapse
-
#anomaly_detection ⇒ AWSCDK::IResolvable, ...
readonly
The configuration for the anomaly detection type of computation model.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(anomaly_detection: nil) ⇒ ComputationModelConfigurationProperty
constructor
A new instance of ComputationModelConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(anomaly_detection: nil) ⇒ ComputationModelConfigurationProperty
Returns a new instance of ComputationModelConfigurationProperty.
741 742 743 744 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 741 def initialize(anomaly_detection: nil) @anomaly_detection = anomaly_detection.is_a?(Hash) ? ::AWSCDK::IoTSiteWise::CfnComputationModel::AnomalyDetectionComputationModelConfigurationProperty.new(**anomaly_detection.transform_keys(&:to_sym)) : anomaly_detection Jsii::Type.check_type(@anomaly_detection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RzaXRld2lzZS5DZm5Db21wdXRhdGlvbk1vZGVsLkFub21hbHlEZXRlY3Rpb25Db21wdXRhdGlvbk1vZGVsQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "anomalyDetection") unless @anomaly_detection.nil? end |
Instance Attribute Details
#anomaly_detection ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration for the anomaly detection type of computation model.
750 751 752 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 750 def anomaly_detection @anomaly_detection end |
Class Method Details
.jsii_properties ⇒ Object
752 753 754 755 756 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 752 def self.jsii_properties { :anomaly_detection => "anomalyDetection", } end |
Instance Method Details
#to_jsii ⇒ Object
758 759 760 761 762 763 764 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 758 def to_jsii result = {} result.merge!({ "anomalyDetection" => @anomaly_detection, }) result.compact end |