# MathProperty

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `attribute`: string (required) — The name of the attribute that contains the result of the math operation.

- `math`: string (required) — An expression that uses one or more existing attributes and must return an integer value.

- `name`: string (required) — The name of the 'math' activity.

- `next`: string — The next activity in the pipeline.
