AWS::IoTSiteWise::AssetModel Transform - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::IoTSiteWise::AssetModel 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 Amazon IoT SiteWise User Guide.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Expression" : String, "Variables" : [ ExpressionVariable, ... ] }

Properties

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 in the Amazon IoT SiteWise User Guide.

Required: Yes

Type: String

Update requires: No interruption

Variables

The list of variables used in the expression.

Required: Yes

Type: Array of ExpressionVariable

Update requires: No interruption