Class: AWSCDK::IoTSiteWise::CfnAssetModel::PropertyPathDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnAssetModel::PropertyPathDefinitionProperty
- Defined in:
- io_t_site_wise/cfn_asset_model.rb
Overview
Represents one level between a composite model and the root of the asset model.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the path segment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ PropertyPathDefinitionProperty
constructor
A new instance of PropertyPathDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ PropertyPathDefinitionProperty
Returns a new instance of PropertyPathDefinitionProperty.
1267 1268 1269 1270 |
# File 'io_t_site_wise/cfn_asset_model.rb', line 1267 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the path segment.
1276 1277 1278 |
# File 'io_t_site_wise/cfn_asset_model.rb', line 1276 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1278 1279 1280 1281 1282 |
# File 'io_t_site_wise/cfn_asset_model.rb', line 1278 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
1284 1285 1286 1287 1288 1289 1290 |
# File 'io_t_site_wise/cfn_asset_model.rb', line 1284 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |