Class: AWSCDK::IoTSiteWise::CfnComputationModel::ComputationModelDataBindingValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnComputationModel::ComputationModelDataBindingValueProperty
- Defined in:
- io_t_site_wise/cfn_computation_model.rb
Overview
Contains computation model data binding value information, which can be one of assetModelProperty , list .
Instance Attribute Summary collapse
-
#asset_model_property ⇒ AWSCDK::IResolvable, ...
readonly
Specifies an asset model property data binding value.
-
#asset_property ⇒ AWSCDK::IResolvable, ...
readonly
The asset property value used for computation model data binding.
-
#list ⇒ AWSCDK::IResolvable, ...
readonly
Specifies a list of data binding value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(asset_model_property: nil, asset_property: nil, list: nil) ⇒ ComputationModelDataBindingValueProperty
constructor
A new instance of ComputationModelDataBindingValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(asset_model_property: nil, asset_property: nil, list: nil) ⇒ ComputationModelDataBindingValueProperty
Returns a new instance of ComputationModelDataBindingValueProperty.
776 777 778 779 780 781 782 783 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 776 def initialize(asset_model_property: nil, asset_property: nil, list: nil) @asset_model_property = asset_model_property.is_a?(Hash) ? ::AWSCDK::IoTSiteWise::CfnComputationModel::AssetModelPropertyBindingValueProperty.new(**asset_model_property.transform_keys(&:to_sym)) : asset_model_property Jsii::Type.check_type(@asset_model_property, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RzaXRld2lzZS5DZm5Db21wdXRhdGlvbk1vZGVsLkFzc2V0TW9kZWxQcm9wZXJ0eUJpbmRpbmdWYWx1ZVByb3BlcnR5In1dfX0=")), "assetModelProperty") unless @asset_model_property.nil? @asset_property = asset_property.is_a?(Hash) ? ::AWSCDK::IoTSiteWise::CfnComputationModel::AssetPropertyBindingValueProperty.new(**asset_property.transform_keys(&:to_sym)) : asset_property Jsii::Type.check_type(@asset_property, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RzaXRld2lzZS5DZm5Db21wdXRhdGlvbk1vZGVsLkFzc2V0UHJvcGVydHlCaW5kaW5nVmFsdWVQcm9wZXJ0eSJ9XX19")), "assetProperty") unless @asset_property.nil? @list = list Jsii::Type.check_type(@list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90c2l0ZXdpc2UuQ2ZuQ29tcHV0YXRpb25Nb2RlbC5Db21wdXRhdGlvbk1vZGVsRGF0YUJpbmRpbmdWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "list") unless @list.nil? end |
Instance Attribute Details
#asset_model_property ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies an asset model property data binding value.
789 790 791 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 789 def asset_model_property @asset_model_property end |
#asset_property ⇒ AWSCDK::IResolvable, ... (readonly)
The asset property value used for computation model data binding.
794 795 796 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 794 def asset_property @asset_property end |
#list ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies a list of data binding value.
799 800 801 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 799 def list @list end |
Class Method Details
.jsii_properties ⇒ Object
801 802 803 804 805 806 807 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 801 def self.jsii_properties { :asset_model_property => "assetModelProperty", :asset_property => "assetProperty", :list => "list", } end |
Instance Method Details
#to_jsii ⇒ Object
809 810 811 812 813 814 815 816 817 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 809 def to_jsii result = {} result.merge!({ "assetModelProperty" => @asset_model_property, "assetProperty" => @asset_property, "list" => @list, }) result.compact end |