class Aws::IoTSiteWise::Types::PropertyType

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

@note When making an API call, you may pass PropertyType

data as a hash:

    {
      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] attribute

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

[1]: https://en.wikipedia.org/wiki/Internet_of_things#Industrial_applications
@return [Types::Attribute]

@!attribute [rw] 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.
@return [Types::Measurement]

@!attribute [rw] 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.
@return [Types::Transform]

@!attribute [rw] 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.
@return [Types::Metric]

Constants

SENSITIVE