Show / Hide Table of Contents

Interface CfnAssetModel.ITransformProperty

Contains an asset transform property.

Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnAssetModel.ITransformProperty
Syntax (vb)
Public Interface CfnAssetModel.ITransformProperty
Remarks

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 AWS IoT SiteWise User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.IoTSiteWise;

             var transformProperty = new TransformProperty {
                 Expression = "expression",
                 Variables = new [] { new ExpressionVariableProperty {
                     Name = "name",
                     Value = new VariableValueProperty {
                         HierarchyExternalId = "hierarchyExternalId",
                         HierarchyId = "hierarchyId",
                         HierarchyLogicalId = "hierarchyLogicalId",
                         PropertyExternalId = "propertyExternalId",
                         PropertyId = "propertyId",
                         PropertyLogicalId = "propertyLogicalId",
                         PropertyPath = new [] { new PropertyPathDefinitionProperty {
                             Name = "name"
                         } }
                     }
                 } }
             };

Synopsis

Properties

Expression

The mathematical expression that defines the transformation function.

Variables

The list of variables used in the expression.

Properties

Expression

The mathematical expression that defines the transformation function.

string Expression { get; }
Property Value

string

Remarks

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 AWS IoT SiteWise User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html#cfn-iotsitewise-assetmodel-transform-expression

Variables

The list of variables used in the expression.

object Variables { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html#cfn-iotsitewise-assetmodel-transform-variables

Type union: either IResolvable or (either IResolvable or CfnAssetModel.IExpressionVariableProperty)[]

Back to top Generated by DocFX