Interface CfnPipelineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipelineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.805Z")
@Stability(Stable)
public interface CfnPipelineProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPipeline.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;
CfnPipelineProps cfnPipelineProps = CfnPipelineProps.builder()
.pipelineActivities(List.of(ActivityProperty.builder()
.addAttributes(AddAttributesProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.channel(ChannelProperty.builder()
.channelName("channelName")
.name("name")
// the properties below are optional
.next("next")
.build())
.datastore(DatastoreProperty.builder()
.datastoreName("datastoreName")
.name("name")
.build())
.deviceRegistryEnrich(DeviceRegistryEnrichProperty.builder()
.attribute("attribute")
.name("name")
.roleArn("roleArn")
.thingName("thingName")
// the properties below are optional
.next("next")
.build())
.deviceShadowEnrich(DeviceShadowEnrichProperty.builder()
.attribute("attribute")
.name("name")
.roleArn("roleArn")
.thingName("thingName")
// the properties below are optional
.next("next")
.build())
.filter(FilterProperty.builder()
.filter("filter")
.name("name")
// the properties below are optional
.next("next")
.build())
.lambda(LambdaProperty.builder()
.batchSize(123)
.lambdaName("lambdaName")
.name("name")
// the properties below are optional
.next("next")
.build())
.math(MathProperty.builder()
.attribute("attribute")
.math("math")
.name("name")
// the properties below are optional
.next("next")
.build())
.removeAttributes(RemoveAttributesProperty.builder()
.attributes(List.of("attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.selectAttributes(SelectAttributesProperty.builder()
.attributes(List.of("attributes"))
.name("name")
// the properties below are optional
.next("next")
.build())
.build()))
// the properties below are optional
.pipelineName("pipelineName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipelinePropsstatic final classAn implementation forCfnPipelineProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPipelineProps.Builderbuilder()A list of "PipelineActivity" objects.default StringThe name of the pipeline.getTags()Metadata which can be used to manage the pipeline.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPipelineActivities
A list of "PipelineActivity" objects.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
channeland adatastoreactivity. Each entry in the list must contain only one activity, for example:pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ] -
getPipelineName
The name of the pipeline. -
getTags
Metadata which can be used to manage the pipeline.For more information, see Tag .
-
builder
- Returns:
- a
CfnPipelineProps.BuilderofCfnPipelineProps
-