Interface ICfnPipelineProps
Properties for defining a CfnPipeline
.
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPipelineProps
Syntax (vb)
Public Interface ICfnPipelineProps
Remarks
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 cfnPipelineProps = new CfnPipelineProps {
PipelineActivities = new [] { 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"
}
} },
// the properties below are optional
PipelineName = "pipelineName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
PipelineActivities | A list of "PipelineActivity" objects. |
PipelineName | The name of the pipeline. |
Tags | Metadata which can be used to manage the pipeline. |
Properties
PipelineActivities
A list of "PipelineActivity" objects.
object PipelineActivities { get; }
Property Value
System.Object
Remarks
Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 PipelineActivity objects and must contain both a channel
and a datastore
activity. Each entry in the list must contain only one activity, for example:
pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
PipelineName
The name of the pipeline.
virtual string PipelineName { get; }
Property Value
System.String