aws-cdk-lib.aws_iotanalytics.CfnPipeline.AddAttributesProperty

interface AddAttributesProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnPipeline.AddAttributesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnPipeline_AddAttributesProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnPipeline.AddAttributesProperty
Pythonaws_cdk.aws_iotanalytics.CfnPipeline.AddAttributesProperty
TypeScript aws-cdk-lib » aws_iotanalytics » CfnPipeline » AddAttributesProperty

An activity that adds other attributes based on existing attributes in the message.

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 addAttributesProperty: iotanalytics.CfnPipeline.AddAttributesProperty = {
  attributes: {
    attributesKey: 'attributes',
  },
  name: 'name',

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

Properties

NameTypeDescription
attributesIResolvable | { [string]: string }A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute.
namestringThe name of the 'addAttributes' activity.
next?stringThe next activity in the pipeline.

attributes

Type: IResolvable | { [string]: string }

A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute.

The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".


name

Type: string

The name of the 'addAttributes' activity.


next?

Type: string (optional)

The next activity in the pipeline.