interface MathProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnPipeline.MathProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnPipeline.MathProperty |
Python | aws_cdk.aws_iotanalytics.CfnPipeline.MathProperty |
TypeScript | @aws-cdk/aws-iotanalytics » CfnPipeline » MathProperty |
An activity that computes an arithmetic expression using the message's attributes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotanalytics from '@aws-cdk/aws-iotanalytics';
const mathProperty: iotanalytics.CfnPipeline.MathProperty = {
attribute: 'attribute',
math: 'math',
name: 'name',
// the properties below are optional
next: 'next',
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute | string | The name of the attribute that contains the result of the math operation. |
| math | string | An expression that uses one or more existing attributes and must return an integer value. |
| name | string | The name of the 'math' activity. |
| next? | string | The next activity in the pipeline. |
attribute
Type:
string
The name of the attribute that contains the result of the math operation.
math
Type:
string
An expression that uses one or more existing attributes and must return an integer value.
name
Type:
string
The name of the 'math' activity.
next?
Type:
string
(optional)
The next activity in the pipeline.

.NET
Java
Python
TypeScript