Interface CfnComputationModelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputationModelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:41.805Z")
@Stability(Stable)
public interface CfnComputationModelProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotsitewise.*;
ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;
CfnComputationModelProps cfnComputationModelProps = CfnComputationModelProps.builder()
.computationModelConfiguration(ComputationModelConfigurationProperty.builder()
.anomalyDetection(AnomalyDetectionComputationModelConfigurationProperty.builder()
.inputProperties("inputProperties")
.resultProperty("resultProperty")
.build())
.build())
.computationModelDataBinding(Map.of(
"computationModelDataBindingKey", ComputationModelDataBindingValueProperty.builder()
.assetModelProperty(AssetModelPropertyBindingValueProperty.builder()
.assetModelId("assetModelId")
.propertyId("propertyId")
.build())
.assetProperty(AssetPropertyBindingValueProperty.builder()
.assetId("assetId")
.propertyId("propertyId")
.build())
.list(List.of(computationModelDataBindingValueProperty_))
.build()))
.computationModelName("computationModelName")
// the properties below are optional
.computationModelDescription("computationModelDescription")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComputationModelPropsstatic final classAn implementation forCfnComputationModelProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration for the computation model.The data binding for the computation model.default StringThe description of the computation model.The name of the computation model.getTags()A list of key-value pairs that contain metadata for the asset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComputationModelConfiguration
The configuration for the computation model.Returns union: either
IResolvableorCfnComputationModel.ComputationModelConfigurationProperty- See Also:
-
getComputationModelDataBinding
The data binding for the computation model.Key is a variable name defined in configuration. Value is a
ComputationModelDataBindingValuereferenced by the variable.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnComputationModel.ComputationModelDataBindingValueProperty>- See Also:
-
getComputationModelName
The name of the computation model.- See Also:
-
getComputationModelDescription
The description of the computation model.- See Also:
-
getTags
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 Also:
-
builder
- Returns:
- a
CfnComputationModelProps.BuilderofCfnComputationModelProps
-