Class: AWSCDK::IoTSiteWise::CfnAssetModel::PropertyPathDefinitionProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ PropertyPathDefinitionProperty

Returns a new instance of PropertyPathDefinitionProperty.

Parameters:

  • name (String)

    The name of the path segment.



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

#nameString (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_propertiesObject



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_jsiiObject



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