CfnComputationModelMixinProps

class aws_cdk.mixins_preview.aws_iotsitewise.mixins.CfnComputationModelMixinProps(*, computation_model_configuration=None, computation_model_data_binding=None, computation_model_description=None, computation_model_name=None, tags=None)

Bases: object

Properties for CfnComputationModelPropsMixin.

Parameters:
  • computation_model_configuration (Union[IResolvable, ComputationModelConfigurationProperty, Dict[str, Any], None]) – The configuration for the computation model.

  • computation_model_data_binding (Union[IResolvable, Mapping[str, Union[IResolvable, ComputationModelDataBindingValueProperty, Dict[str, Any]]], None]) – The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

  • computation_model_description (Optional[str]) – The description of the computation model.

  • computation_model_name (Optional[str]) – The name of the computation model.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

# computation_model_data_binding_value_property_: iotsitewise_mixins.CfnComputationModelPropsMixin.ComputationModelDataBindingValueProperty

cfn_computation_model_mixin_props = iotsitewise_mixins.CfnComputationModelMixinProps(
    computation_model_configuration=iotsitewise_mixins.CfnComputationModelPropsMixin.ComputationModelConfigurationProperty(
        anomaly_detection=iotsitewise_mixins.CfnComputationModelPropsMixin.AnomalyDetectionComputationModelConfigurationProperty(
            input_properties="inputProperties",
            result_property="resultProperty"
        )
    ),
    computation_model_data_binding={
        "computation_model_data_binding_key": iotsitewise_mixins.CfnComputationModelPropsMixin.ComputationModelDataBindingValueProperty(
            asset_model_property=iotsitewise_mixins.CfnComputationModelPropsMixin.AssetModelPropertyBindingValueProperty(
                asset_model_id="assetModelId",
                property_id="propertyId"
            ),
            asset_property=iotsitewise_mixins.CfnComputationModelPropsMixin.AssetPropertyBindingValueProperty(
                asset_id="assetId",
                property_id="propertyId"
            ),
            list=[computation_model_data_binding_value_property_]
        )
    },
    computation_model_description="computationModelDescription",
    computation_model_name="computationModelName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

computation_model_configuration

The configuration for the computation model.

See:

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

computation_model_data_binding

The data binding for the computation model.

Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

See:

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

computation_model_description

The description of the computation model.

See:

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

computation_model_name

The name of the computation model.

See:

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

tags

A list of key-value pairs that contain metadata for the asset.

For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .

See:

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