interface CfnComputationModelProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTSiteWise.CfnComputationModelProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnComputationModelProps |
![]() | software.amazon.awscdk.services.iotsitewise.CfnComputationModelProps |
![]() | aws_cdk.aws_iotsitewise.CfnComputationModelProps |
![]() | aws-cdk-lib » aws_iotsitewise » CfnComputationModelProps |
Properties for defining a CfnComputationModel
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
declare const computationModelDataBindingValueProperty_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty;
const cfnComputationModelProps: iotsitewise.CfnComputationModelProps = {
computationModelConfiguration: {
anomalyDetection: {
inputProperties: 'inputProperties',
resultProperty: 'resultProperty',
},
},
computationModelDataBinding: {
computationModelDataBindingKey: {
assetModelProperty: {
assetModelId: 'assetModelId',
propertyId: 'propertyId',
},
assetProperty: {
assetId: 'assetId',
propertyId: 'propertyId',
},
list: [computationModelDataBindingValueProperty_],
},
},
computationModelName: 'computationModelName',
// the properties below are optional
computationModelDescription: 'computationModelDescription',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
computation | IResolvable | Computation | The configuration for the computation model. |
computation | IResolvable | { [string]: IResolvable | Computation } | The data binding for the computation model. |
computation | string | The name of the computation model. |
computation | string | The description of the computation model. |
tags? | Cfn [] | A list of key-value pairs that contain metadata for the asset. |
computationModelConfiguration
Type:
IResolvable
|
Computation
The configuration for the computation model.
computationModelDataBinding
Type:
IResolvable
| { [string]:
IResolvable
|
Computation
}
The data binding for the computation model.
Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue
referenced by the variable.
computationModelName
Type:
string
The name of the computation model.
computationModelDescription?
Type:
string
(optional)
The description of the computation model.
tags?
Type:
Cfn
[]
(optional)
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 .