Skip to content
v2.275.0

MathProperty Struct ​

An activity that computes an arithmetic expression using the message's attributes.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const mathProperty: iotanalytics.CfnPipeline.MathProperty = {
  attribute: 'attribute',
  math: 'math',
  name: 'name',

  // the properties below are optional
  next: 'next',
};

Properties ​

attributestringattributestrattributeStringAttributestringAttribute*stringrequired#
The name of the attribute that contains the result of the math operation.
mathstringmathstrmathStringMathstringMath*stringrequired#
An expression that uses one or more existing attributes and must return an integer value.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the 'math' activity.