You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTSiteWise::Types::PropertyType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PropertyType as input to an Aws::Client method, you can use a vanilla Hash:

{
  attribute: {
    default_value: "DefaultValue",
  },
  measurement: {
  },
  transform: {
    expression: "Expression", # required
    variables: [ # required
      {
        name: "VariableName", # required
        value: { # required
          property_id: "Macro", # required
          hierarchy_id: "Macro",
        },
      },
    ],
  },
  metric: {
    expression: "Expression", # required
    variables: [ # required
      {
        name: "VariableName", # required
        value: { # required
          property_id: "Macro", # required
          hierarchy_id: "Macro",
        },
      },
    ],
    window: { # required
      tumbling: {
        interval: "Interval", # required
      },
    },
  },
}

Contains a property type, which can be one of attribute, measurement, metric, or transform.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attributeTypes::Attribute

Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

Returns:

#measurementTypes::Measurement

Specifies an asset measurement property. A measurement represents a device\'s raw sensor data stream, such as timestamped temperature values or timestamped power values.

Returns:

#metricTypes::Metric

Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

Returns:

#transformTypes::Transform

Specifies an asset transform property. A transform contains a mathematical expression that maps a property\'s data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

Returns: