class Aws::IoTSiteWise::Types::Transform
Contains an asset transform property. A transform is a one-to-one mapping of a property's data points from one form to another. For example, you can use a transform to convert a Celsius data stream to Fahrenheit by applying the transformation expression to each data point of the Celsius stream. A transform can only have a data type of `DOUBLE` and consume properties with data types of `INTEGER` or `DOUBLE`.
For more information, see [Transforms] in the *IoT SiteWise User Guide*.
[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#transforms
@note When making an API call, you may pass Transform
data as a hash: { 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 }, }, }
@!attribute [rw] expression
The mathematical expression that defines the transformation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression. For more information, see [Quotas][1] in the *IoT SiteWise User Guide*. [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html @return [String]
@!attribute [rw] variables
The list of variables used in the expression. @return [Array<Types::ExpressionVariable>]
@!attribute [rw] processing_config
The processing configuration for the given transform property. You can configure transforms to be kept at the edge or forwarded to the Amazon Web Services Cloud. You can also configure transforms to be computed at the edge or in the cloud. @return [Types::TransformProcessingConfig]
Constants
- SENSITIVE