Interface ICfnComputationModelProps
Properties for defining a CfnComputationModel.
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnComputationModelProps
Syntax (vb)
Public Interface ICfnComputationModelProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;
var cfnComputationModelProps = new CfnComputationModelProps {
ComputationModelConfiguration = new ComputationModelConfigurationProperty {
AnomalyDetection = new AnomalyDetectionComputationModelConfigurationProperty {
InputProperties = "inputProperties",
ResultProperty = "resultProperty"
}
},
ComputationModelDataBinding = new Dictionary<string, object> {
{ "computationModelDataBindingKey", new ComputationModelDataBindingValueProperty {
AssetModelProperty = new AssetModelPropertyBindingValueProperty {
AssetModelId = "assetModelId",
PropertyId = "propertyId"
},
AssetProperty = new AssetPropertyBindingValueProperty {
AssetId = "assetId",
PropertyId = "propertyId"
},
List = new [] { computationModelDataBindingValueProperty_ }
} }
},
ComputationModelName = "computationModelName",
// the properties below are optional
ComputationModelDescription = "computationModelDescription",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| ComputationModelConfiguration | The configuration for the computation model. |
| ComputationModelDataBinding | The data binding for the computation model. |
| ComputationModelDescription | The description of the computation model. |
| ComputationModelName | The name of the computation model. |
| Tags | A list of key-value pairs that contain metadata for the asset. |
Properties
ComputationModelConfiguration
The configuration for the computation model.
object ComputationModelConfiguration { get; }
Property Value
Remarks
ComputationModelDataBinding
The data binding for the computation model.
object ComputationModelDataBinding { get; }
Property Value
Remarks
Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.
Type union: either IResolvable or Dictionary<string, either IResolvable or CfnComputationModel.IComputationModelDataBindingValueProperty>
ComputationModelDescription
The description of the computation model.
string? ComputationModelDescription { get; }
Property Value
Remarks
ComputationModelName
The name of the computation model.
string ComputationModelName { get; }
Property Value
Remarks
Tags
A list of key-value pairs that contain metadata for the asset.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]
Remarks
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .