Class: AWSCDK::IoTSiteWise::CfnComputationModel::AssetPropertyBindingValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnComputationModel::AssetPropertyBindingValueProperty
- Defined in:
- io_t_site_wise/cfn_computation_model.rb
Overview
Represents a data binding value referencing a specific asset property.
It's used to bind computation model variables to actual asset property values for processing.
Instance Attribute Summary collapse
-
#asset_id ⇒ String
readonly
The ID of the asset containing the property.
-
#property_id ⇒ String
readonly
The ID of the property within the asset.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(asset_id:, property_id:) ⇒ AssetPropertyBindingValueProperty
constructor
A new instance of AssetPropertyBindingValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(asset_id:, property_id:) ⇒ AssetPropertyBindingValueProperty
Returns a new instance of AssetPropertyBindingValueProperty.
695 696 697 698 699 700 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 695 def initialize(asset_id:, property_id:) @asset_id = asset_id Jsii::Type.check_type(@asset_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assetId") @property_id = property_id Jsii::Type.check_type(@property_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "propertyId") end |
Instance Attribute Details
#asset_id ⇒ String (readonly)
The ID of the asset containing the property.
This identifies the specific asset instance's property value used in the computation model.
708 709 710 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 708 def asset_id @asset_id end |
#property_id ⇒ String (readonly)
The ID of the property within the asset.
This identifies the specific property's value used in the computation model.
715 716 717 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 715 def property_id @property_id end |
Class Method Details
.jsii_properties ⇒ Object
717 718 719 720 721 722 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 717 def self.jsii_properties { :asset_id => "assetId", :property_id => "propertyId", } end |
Instance Method Details
#to_jsii ⇒ Object
724 725 726 727 728 729 730 731 |
# File 'io_t_site_wise/cfn_computation_model.rb', line 724 def to_jsii result = {} result.merge!({ "assetId" => @asset_id, "propertyId" => @property_id, }) result.compact end |