class Aws::IoTSiteWise::Types::AssetModelProperty
Contains information about an asset model property.
@note When making an API call, you may pass AssetModelProperty
data as a hash: { id: "ID", name: "Name", # required data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT data_type_spec: "Name", unit: "PropertyUnit", type: { # required attribute: { default_value: "DefaultValue", }, measurement: { processing_config: { forwarding_config: { # required state: "DISABLED", # required, accepts DISABLED, ENABLED }, }, }, transform: { expression: "Expression", # required variables: [ # required { name: "VariableName", # required value: { # required property_id: "Macro", # required hierarchy_id: "Macro", }, }, ], processing_config: { compute_location: "EDGE", # required, accepts EDGE, CLOUD forwarding_config: { state: "DISABLED", # required, accepts DISABLED, ENABLED }, }, }, metric: { expression: "Expression", # required variables: [ # required { name: "VariableName", # required value: { # required property_id: "Macro", # required hierarchy_id: "Macro", }, }, ], window: { # required tumbling: { interval: "Interval", # required offset: "Offset", }, }, processing_config: { compute_location: "EDGE", # required, accepts EDGE, CLOUD }, }, }, }
@!attribute [rw] id
The ID of the asset model property. @return [String]
@!attribute [rw] name
The name of the asset model property. @return [String]
@!attribute [rw] data_type
The data type of the asset model property. @return [String]
@!attribute [rw] data_type_spec
The data type of the structure for this property. This parameter exists on properties that have the `STRUCT` data type. @return [String]
@!attribute [rw] unit
The unit of the asset model property, such as `Newtons` or `RPM`. @return [String]
@!attribute [rw] type
The property type (see `PropertyType`). @return [Types::PropertyType]
Constants
- SENSITIVE