Class CfnAssetModel.VariableValueProperty
Identifies a property value used in an expression.
Inheritance
System.Object
CfnAssetModel.VariableValueProperty
Implements
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.AWS.IoTSiteWise.dll
Syntax (csharp)
public class VariableValueProperty : Object, CfnAssetModel.IVariableValueProperty
Syntax (vb)
Public Class VariableValueProperty
Inherits Object
Implements CfnAssetModel.IVariableValueProperty
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;
var variableValueProperty = new VariableValueProperty {
PropertyLogicalId = "propertyLogicalId",
// the properties below are optional
HierarchyLogicalId = "hierarchyLogicalId"
};
Synopsis
Constructors
VariableValueProperty() |
Properties
HierarchyLogicalId | The |
PropertyLogicalId | The |
Constructors
VariableValueProperty()
public VariableValueProperty()
Properties
HierarchyLogicalId
The LogicalID
of the hierarchy to query for the PropertyLogicalID
.
public string HierarchyLogicalId { get; set; }
Property Value
System.String
Remarks
You use a hierarchyLogicalID
instead of a model ID because you can have several hierarchies using the same model and therefore the same property. For example, you might have separately grouped assets that come from the same asset model. For more information, see Defining relationships between assets in the AWS IoT SiteWise User Guide .
PropertyLogicalId
The LogicalID
of the property to use as the variable.
public string PropertyLogicalId { get; set; }
Property Value
System.String