Class: Aws::IoTSiteWise::Types::AssetModelPropertyDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::AssetModelPropertyDefinition
- Defined in:
- gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb
Overview
Contains an asset model property definition. This property definition is applied to all assets created from the asset model.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_type ⇒ String
The data type of the property definition.
-
#data_type_spec ⇒ String
The data type of the structure for this property.
-
#name ⇒ String
The name of the property definition.
-
#type ⇒ Types::PropertyType
The property definition type (see
PropertyType
). -
#unit ⇒ String
The unit of the property definition, such as
Newtons
orRPM
.
Instance Attribute Details
#data_type ⇒ String
The data type of the property definition.
If you specify STRUCT
, you must also specify dataTypeSpec
to
identify the type of the structure for this property.
444 445 446 447 448 449 450 451 452 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 444 class AssetModelPropertyDefinition < Struct.new( :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#data_type_spec ⇒ String
The data type of the structure for this property. This parameter is
required on properties that have the STRUCT
data type.
The options for this parameter depend on the type of the composite
model in which you define this property. Use AWS/ALARM_STATE
for
alarm state in alarm composite models.
444 445 446 447 448 449 450 451 452 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 444 class AssetModelPropertyDefinition < Struct.new( :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the property definition.
444 445 446 447 448 449 450 451 452 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 444 class AssetModelPropertyDefinition < Struct.new( :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ Types::PropertyType
The property definition type (see PropertyType
). You can only
specify one type in a property definition.
444 445 446 447 448 449 450 451 452 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 444 class AssetModelPropertyDefinition < Struct.new( :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
The unit of the property definition, such as Newtons
or RPM
.
444 445 446 447 448 449 450 451 452 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 444 class AssetModelPropertyDefinition < Struct.new( :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |