CfnPipelineProps

class aws_cdk.aws_iotanalytics.CfnPipelineProps(*, pipeline_activities, pipeline_name=None, tags=None)

Bases: object

Properties for defining a AWS::IoTAnalytics::Pipeline.

Parameters
  • pipeline_activities (Union[IResolvable, Sequence[Union[IResolvable, ActivityProperty]]]) – AWS::IoTAnalytics::Pipeline.PipelineActivities.

  • pipeline_name (Optional[str]) – AWS::IoTAnalytics::Pipeline.PipelineName.

  • tags (Optional[Sequence[CfnTag]]) – AWS::IoTAnalytics::Pipeline.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iotanalytics as iotanalytics

# attributes is of type object

cfn_pipeline_props = iotanalytics.CfnPipelineProps(
    pipeline_activities=[iotanalytics.CfnPipeline.ActivityProperty(
        add_attributes=iotanalytics.CfnPipeline.AddAttributesProperty(
            attributes=attributes,
            name="name",
            next="next"
        ),
        channel=iotanalytics.CfnPipeline.ChannelProperty(
            channel_name="channelName",
            name="name",
            next="next"
        ),
        datastore=iotanalytics.CfnPipeline.DatastoreProperty(
            datastore_name="datastoreName",
            name="name"
        ),
        device_registry_enrich=iotanalytics.CfnPipeline.DeviceRegistryEnrichProperty(
            attribute="attribute",
            name="name",
            next="next",
            role_arn="roleArn",
            thing_name="thingName"
        ),
        device_shadow_enrich=iotanalytics.CfnPipeline.DeviceShadowEnrichProperty(
            attribute="attribute",
            name="name",
            next="next",
            role_arn="roleArn",
            thing_name="thingName"
        ),
        filter=iotanalytics.CfnPipeline.FilterProperty(
            filter="filter",
            name="name",
            next="next"
        ),
        lambda_=iotanalytics.CfnPipeline.LambdaProperty(
            batch_size=123,
            lambda_name="lambdaName",
            name="name",
            next="next"
        ),
        math=iotanalytics.CfnPipeline.MathProperty(
            attribute="attribute",
            math="math",
            name="name",
            next="next"
        ),
        remove_attributes=iotanalytics.CfnPipeline.RemoveAttributesProperty(
            attributes=["attributes"],
            name="name",
            next="next"
        ),
        select_attributes=iotanalytics.CfnPipeline.SelectAttributesProperty(
            attributes=["attributes"],
            name="name",
            next="next"
        )
    )],

    # the properties below are optional
    pipeline_name="pipelineName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

pipeline_activities

AWS::IoTAnalytics::Pipeline.PipelineActivities.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelineactivities

Return type

Union[IResolvable, List[Union[IResolvable, ActivityProperty]]]

pipeline_name

AWS::IoTAnalytics::Pipeline.PipelineName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelinename

Return type

Optional[str]

tags

AWS::IoTAnalytics::Pipeline.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-tags

Return type

Optional[List[CfnTag]]