interface AddAttributesProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTAnalytics.CfnPipeline.AddAttributesProperty |
![]() | software.amazon.awscdk.services.iotanalytics.CfnPipeline.AddAttributesProperty |
![]() | aws_cdk.aws_iotanalytics.CfnPipeline.AddAttributesProperty |
![]() | @aws-cdk/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 * as iotanalytics from '@aws-cdk/aws-iotanalytics';
const addAttributesProperty: iotanalytics.CfnPipeline.AddAttributesProperty = {
attributes: {
attributesKey: 'attributes',
},
name: 'name',
// the properties below are optional
next: 'next',
};
Properties
Name | Type | Description |
---|---|---|
attributes | IResolvable | { [string]: string } | A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute. |
name | string | The name of the 'addAttributes' activity. |
next? | string | The 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.