CfnPipelineProps

class aws_cdk.aws_iotsitewise.CfnPipelineProps(*, computations, pipeline_name, workspace_name, description=None, environment_variables=None, tags=None)

Bases: object

Properties for defining a CfnPipeline.

Parameters:
  • computations (Union[IResolvable, Sequence[Union[IResolvable, ComputeNodeProperty, Dict[str, Any]]]]) – The list of compute nodes that form the pipeline DAG.

  • pipeline_name (str) – The name of the pipeline. Must be unique within the workspace.

  • workspace_name (str) – The name of the workspace.

  • description (Optional[str]) – A description of the pipeline.

  • environment_variables (Union[IResolvable, Mapping[str, str], None]) – A map of environment variable key-value pairs.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

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

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsitewise as iotsitewise

cfn_pipeline_props = iotsitewise.CfnPipelineProps(
    computations=[iotsitewise.CfnPipeline.ComputeNodeProperty(
        compute_node_name="computeNodeName",
        task_name="taskName",

        # the properties below are optional
        depends_on=["dependsOn"],
        environment_variables={
            "environment_variables_key": "environmentVariables"
        }
    )],
    pipeline_name="pipelineName",
    workspace_name="workspaceName",

    # the properties below are optional
    description="description",
    environment_variables={
        "environment_variables_key": "environmentVariables"
    },
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

computations

The list of compute nodes that form the pipeline DAG.

See:

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

description

A description of the pipeline.

See:

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

environment_variables

A map of environment variable key-value pairs.

See:

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

pipeline_name

The name of the pipeline.

Must be unique within the workspace.

See:

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

tags

An array of key-value pairs to apply to this resource.

See:

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

workspace_name

The name of the workspace.

See:

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