Show / Hide Table of Contents

Class CfnPipeline.ActivityProperty

An activity that performs a transformation on a message.

Inheritance
System.Object
CfnPipeline.ActivityProperty
Implements
CfnPipeline.IActivityProperty
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.AWS.IoTAnalytics.dll
Syntax (csharp)
public class ActivityProperty : Object, CfnPipeline.IActivityProperty
Syntax (vb)
Public Class ActivityProperty
    Inherits Object
    Implements CfnPipeline.IActivityProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;

var activityProperty = new ActivityProperty {
    AddAttributes = new AddAttributesProperty {
        Attributes = new Dictionary<string, string> {
            { "attributesKey", "attributes" }
        },
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    Channel = new ChannelProperty {
        ChannelName = "channelName",
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    Datastore = new DatastoreProperty {
        DatastoreName = "datastoreName",
        Name = "name"
    },
    DeviceRegistryEnrich = new DeviceRegistryEnrichProperty {
        Attribute = "attribute",
        Name = "name",
        RoleArn = "roleArn",
        ThingName = "thingName",

        // the properties below are optional
        Next = "next"
    },
    DeviceShadowEnrich = new DeviceShadowEnrichProperty {
        Attribute = "attribute",
        Name = "name",
        RoleArn = "roleArn",
        ThingName = "thingName",

        // the properties below are optional
        Next = "next"
    },
    Filter = new FilterProperty {
        Filter = "filter",
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    Lambda = new LambdaProperty {
        BatchSize = 123,
        LambdaName = "lambdaName",
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    Math = new MathProperty {
        Attribute = "attribute",
        Math = "math",
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    RemoveAttributes = new RemoveAttributesProperty {
        Attributes = new [] { "attributes" },
        Name = "name",

        // the properties below are optional
        Next = "next"
    },
    SelectAttributes = new SelectAttributesProperty {
        Attributes = new [] { "attributes" },
        Name = "name",

        // the properties below are optional
        Next = "next"
    }
};

Synopsis

Constructors

ActivityProperty()

Properties

AddAttributes

Adds other attributes based on existing attributes in the message.

Channel

Determines the source of the messages to be processed.

Datastore

Specifies where to store the processed message data.

DeviceRegistryEnrich

Adds data from the AWS IoT device registry to your message.

DeviceShadowEnrich

Adds information from the AWS IoT Device Shadows service to a message.

Filter

Filters a message based on its attributes.

Lambda

Runs a Lambda function to modify the message.

Math

Computes an arithmetic expression using the message's attributes and adds it to the message.

RemoveAttributes

Removes attributes from a message.

SelectAttributes

Creates a new message using only the specified attributes from the original message.

Constructors

ActivityProperty()

public ActivityProperty()

Properties

AddAttributes

Adds other attributes based on existing attributes in the message.

public object AddAttributes { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-addattributes

Channel

Determines the source of the messages to be processed.

public object Channel { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-channel

Datastore

Specifies where to store the processed message data.

public object Datastore { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-datastore

DeviceRegistryEnrich

Adds data from the AWS IoT device registry to your message.

public object DeviceRegistryEnrich { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceregistryenrich

DeviceShadowEnrich

Adds information from the AWS IoT Device Shadows service to a message.

public object DeviceShadowEnrich { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceshadowenrich

Filter

Filters a message based on its attributes.

public object Filter { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-filter

Lambda

Runs a Lambda function to modify the message.

public object Lambda { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-lambda

Math

Computes an arithmetic expression using the message's attributes and adds it to the message.

public object Math { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-math

RemoveAttributes

Removes attributes from a message.

public object RemoveAttributes { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-removeattributes

SelectAttributes

Creates a new message using only the specified attributes from the original message.

public object SelectAttributes { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-selectattributes

Implements

CfnPipeline.IActivityProperty
Back to top Generated by DocFX