Class CfnPipeline
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iotanalytics.CfnPipeline
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:44.753Z")
@Stability(Stable)
public class CfnPipeline
extends CfnResource
implements IInspectable, ITaggable
The AWS::IoTAnalytics::Pipeline resource consumes messages from one or more channels and allows you to process the messages before storing them in a data store.
You must specify both a channel
and a datastore
activity and, optionally, as many as 23 additional activities in the pipelineActivities
array. For more information, see How to Use AWS IoT Analytics in the AWS IoT Analytics User Guide .
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.*; CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline") .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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
An activity that performs a transformation on a message.static interface
An activity that adds other attributes based on existing attributes in the message.static final class
A fluent builder forCfnPipeline
.static interface
Determines the source of the messages to be processed.static interface
The datastore activity that specifies where to store the processed data.static interface
An activity that adds data from the AWS IoT device registry to your message.static interface
An activity that adds information from the AWS IoT Device Shadows service to a message.static interface
An activity that filters a message based on its attributes.static interface
An activity that runs a Lambda function to modify the message.static interface
An activity that computes an arithmetic expression using the message's attributes.static interface
An activity that removes attributes from a message.static interface
Creates a new message using only the specified attributes from the original message.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnPipeline
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnPipeline
(software.amazon.jsii.JsiiObjectRef objRef) CfnPipeline
(software.constructs.Construct scope, String id, CfnPipelineProps props) -
Method Summary
Modifier and TypeMethodDescriptionA list of "PipelineActivity" objects.The name of the pipeline.getTags()
Tag Manager which manages the tags for this resource.Metadata which can be used to manage the pipeline.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setPipelineActivities
(List<Object> value) A list of "PipelineActivity" objects.void
setPipelineActivities
(IResolvable value) A list of "PipelineActivity" objects.void
setPipelineName
(String value) The name of the pipeline.void
setTagsRaw
(List<CfnTag> value) Metadata which can be used to manage the pipeline.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPipeline
@Stability(Stable) public CfnPipeline(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPipelineProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getPipelineActivities
A list of "PipelineActivity" objects. -
setPipelineActivities
A list of "PipelineActivity" objects. -
setPipelineActivities
A list of "PipelineActivity" objects. -
getPipelineName
The name of the pipeline. -
setPipelineName
The name of the pipeline. -
getTagsRaw
Metadata which can be used to manage the pipeline. -
setTagsRaw
Metadata which can be used to manage the pipeline.
-