Class: AWSCDK::IoTSiteWise::CfnComputationModel::AnomalyDetectionComputationModelConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_site_wise/cfn_computation_model.rb

Overview

Contains the configuration for anomaly detection computation models.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_properties:, result_property:) ⇒ AnomalyDetectionComputationModelConfigurationProperty

Returns a new instance of AnomalyDetectionComputationModelConfigurationProperty.

Parameters:

  • input_properties (String)

    The list of input properties for the anomaly detection model.

  • result_property (String)

    The property where the anomaly detection results will be stored.



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_propertiesString (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_propertyString (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_propertiesObject



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_jsiiObject



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