# ComputationModelConfigurationProperty

Struct · External

The configuration for the computation model.

- Source: Generated at build time
- Type last changed: v2.211.0 · 13 Aug 2025

## Example

TypeScript:

```ts
// 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';
const computationModelConfigurationProperty: iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty = {
  anomalyDetection: {
    inputProperties: 'inputProperties',
    resultProperty: 'resultProperty',
  },
};
```

Python:

```python
# 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

computation_model_configuration_property = iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty(
    anomaly_detection=iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty(
        input_properties="inputProperties",
        result_property="resultProperty"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsitewise.*;

ComputationModelConfigurationProperty computationModelConfigurationProperty = ComputationModelConfigurationProperty.builder()
        .anomalyDetection(AnomalyDetectionComputationModelConfigurationProperty.builder()
                .inputProperties("inputProperties")
                .resultProperty("resultProperty")
                .build())
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;

var computationModelConfigurationProperty = new ComputationModelConfigurationProperty {
    AnomalyDetection = new AnomalyDetectionComputationModelConfigurationProperty {
        InputProperties = "inputProperties",
        ResultProperty = "resultProperty"
    }
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

computationModelConfigurationProperty := &ComputationModelConfigurationProperty{
	AnomalyDetection: &AnomalyDetectionComputationModelConfigurationProperty{
		InputProperties: jsii.String("inputProperties"),
		ResultProperty: jsii.String("resultProperty"),
	},
}
```

## Properties

- `anomalyDetection`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty.html) — The configuration for the anomaly detection type of computation model.
