ComputationModelDataBindingValueProperty
Struct External
Contains computation model data binding value information, which can be one of assetModelProperty , list .
| Source | |
|---|---|
| Type last changed |
Example
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';
declare const computationModelDataBindingValueProperty_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty;
const computationModelDataBindingValueProperty: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty = {
assetModelProperty: {
assetModelId: 'assetModelId',
propertyId: 'propertyId',
},
assetProperty: {
assetId: 'assetId',
propertyId: 'propertyId',
},
list: [computationModelDataBindingValueProperty_],
};
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_data_binding_value_property_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty
computation_model_data_binding_value_property = iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty(
asset_model_property=iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty(
asset_model_id="assetModelId",
property_id="propertyId"
),
asset_property=iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty(
asset_id="assetId",
property_id="propertyId"
),
list=[computation_model_data_binding_value_property_]
)
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.*;
ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;
ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty = ComputationModelDataBindingValueProperty.builder()
.assetModelProperty(AssetModelPropertyBindingValueProperty.builder()
.assetModelId("assetModelId")
.propertyId("propertyId")
.build())
.assetProperty(AssetPropertyBindingValueProperty.builder()
.assetId("assetId")
.propertyId("propertyId")
.build())
.list(List.of(computationModelDataBindingValueProperty_))
.build();
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;
ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;
var computationModelDataBindingValueProperty = new ComputationModelDataBindingValueProperty {
AssetModelProperty = new AssetModelPropertyBindingValueProperty {
AssetModelId = "assetModelId",
PropertyId = "propertyId"
},
AssetProperty = new AssetPropertyBindingValueProperty {
AssetId = "assetId",
PropertyId = "propertyId"
},
List = new [] { computationModelDataBindingValueProperty_ }
};
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"
var computationModelDataBindingValueProperty_ ComputationModelDataBindingValueProperty
computationModelDataBindingValueProperty := &ComputationModelDataBindingValueProperty{
AssetModelProperty: &AssetModelPropertyBindingValueProperty{
AssetModelId: jsii.String("assetModelId"),
PropertyId: jsii.String("propertyId"),
},
AssetProperty: &AssetPropertyBindingValueProperty{
AssetId: jsii.String("assetId"),
PropertyId: jsii.String("propertyId"),
},
List: []interface{}{
computationModelDataBindingValueProperty_,
},
}
Properties
assetModelPropertyoptionalIResolvable | CfnComputationModel.asset_model_propertyoptionaltyping.Union[IResolvable, AssetModelPropertyBindingValueProperty]assetModelPropertyoptionalIResolvableAssetModelPropertyoptionalIResolvableAssetModelPropertyoptionalinterface{} #Specifies an asset model property data binding value.
assetPropertyoptionalIResolvable | CfnComputationModel.asset_propertyoptionaltyping.Union[IResolvable, AssetPropertyBindingValueProperty]assetPropertyoptionalIResolvableAssetPropertyoptionalIResolvableAssetPropertyoptionalinterface{} #The asset property value used for computation model data binding.
listoptionalIResolvable | IResolvable | CfnComputationModel.listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ComputationModelDataBindingValueProperty]]]listoptionalIResolvableListoptionalIResolvableListoptionalinterface{} #Specifies a list of data binding value.