CfnComputationModelPropsMixin

class aws_cdk.mixins_preview.aws_iotsitewise.mixins.CfnComputationModelPropsMixin(props, *, strategy=None)

Bases: Mixin

Create a computation model with a configuration and data binding.

See:

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

CloudformationResource:

AWS::IoTSiteWise::ComputationModel

Mixin:

true

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 import mixins
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_props_mixin = iotsitewise_mixins.CfnComputationModelPropsMixin(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"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::IoTSiteWise::ComputationModel.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['computationModelConfiguration', 'computationModelDataBinding', 'computationModelDescription', 'computationModelName', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AnomalyDetectionComputationModelConfigurationProperty

class CfnComputationModelPropsMixin.AnomalyDetectionComputationModelConfigurationProperty(*, input_properties=None, result_property=None)

Bases: object

Contains the configuration for anomaly detection computation models.

Parameters:
  • input_properties (Optional[str]) – The list of input properties for the anomaly detection model.

  • result_property (Optional[str]) – The property where the anomaly detection results will be stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.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

anomaly_detection_computation_model_configuration_property = iotsitewise_mixins.CfnComputationModelPropsMixin.AnomalyDetectionComputationModelConfigurationProperty(
    input_properties="inputProperties",
    result_property="resultProperty"
)

Attributes

input_properties

The list of input properties for the anomaly detection model.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html#cfn-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration-inputproperties

result_property

The property where the anomaly detection results will be stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html#cfn-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration-resultproperty

AssetModelPropertyBindingValueProperty

class CfnComputationModelPropsMixin.AssetModelPropertyBindingValueProperty(*, asset_model_id=None, property_id=None)

Bases: object

Contains information about an assetModelProperty binding value.

Parameters:
  • asset_model_id (Optional[str]) – The ID of the asset model, in UUID format.

  • property_id (Optional[str]) – The ID of the asset model property used in data binding value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.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

asset_model_property_binding_value_property = iotsitewise_mixins.CfnComputationModelPropsMixin.AssetModelPropertyBindingValueProperty(
    asset_model_id="assetModelId",
    property_id="propertyId"
)

Attributes

asset_model_id

The ID of the asset model, in UUID format.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetmodelpropertybindingvalue-assetmodelid

property_id

The ID of the asset model property used in data binding value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetmodelpropertybindingvalue-propertyid

AssetPropertyBindingValueProperty

class CfnComputationModelPropsMixin.AssetPropertyBindingValueProperty(*, asset_id=None, property_id=None)

Bases: object

Represents a data binding value referencing a specific asset property.

It’s used to bind computation model variables to actual asset property values for processing.

Parameters:
  • asset_id (Optional[str]) – The ID of the asset containing the property. This identifies the specific asset instance’s property value used in the computation model.

  • property_id (Optional[str]) – The ID of the property within the asset. This identifies the specific property’s value used in the computation model.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.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

asset_property_binding_value_property = iotsitewise_mixins.CfnComputationModelPropsMixin.AssetPropertyBindingValueProperty(
    asset_id="assetId",
    property_id="propertyId"
)

Attributes

asset_id

The ID of the asset containing the property.

This identifies the specific asset instance’s property value used in the computation model.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetpropertybindingvalue-assetid

property_id

The ID of the property within the asset.

This identifies the specific property’s value used in the computation model.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetpropertybindingvalue-propertyid

ComputationModelConfigurationProperty

class CfnComputationModelPropsMixin.ComputationModelConfigurationProperty(*, anomaly_detection=None)

Bases: object

The configuration for the computation model.

Parameters:

anomaly_detection (Union[IResolvable, AnomalyDetectionComputationModelConfigurationProperty, Dict[str, Any], None]) – The configuration for the anomaly detection type of computation model.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodelconfiguration.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_configuration_property = iotsitewise_mixins.CfnComputationModelPropsMixin.ComputationModelConfigurationProperty(
    anomaly_detection=iotsitewise_mixins.CfnComputationModelPropsMixin.AnomalyDetectionComputationModelConfigurationProperty(
        input_properties="inputProperties",
        result_property="resultProperty"
    )
)

Attributes

anomaly_detection

The configuration for the anomaly detection type of computation model.

See:

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

ComputationModelDataBindingValueProperty

class CfnComputationModelPropsMixin.ComputationModelDataBindingValueProperty(*, asset_model_property=None, asset_property=None, list=None)

Bases: object

Contains computation model data binding value information, which can be one of assetModelProperty , list .

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.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

computation_model_data_binding_value_property = 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_]
)

Attributes

asset_model_property

Specifies an asset model property data binding value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-assetmodelproperty

asset_property

The asset property value used for computation model data binding.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-assetproperty

list

Specifies a list of data binding value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-list