aws-cdk-lib.aws_iotanalytics.CfnPipeline.MathProperty

interface MathProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnPipeline.MathProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnPipeline_MathProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnPipeline.MathProperty
Pythonaws_cdk.aws_iotanalytics.CfnPipeline.MathProperty
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
attributestringThe name of the attribute that contains the result of the math operation.
mathstringAn expression that uses one or more existing attributes and must return an integer value.
namestringThe name of the 'math' activity.
next?stringThe 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.