interface VariableValueProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAssetModel.VariableValueProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_VariableValueProperty |
Java | software.amazon.awscdk.services.iotsitewise.CfnAssetModel.VariableValueProperty |
Python | aws_cdk.aws_iotsitewise.CfnAssetModel.VariableValueProperty |
TypeScript | aws-cdk-lib » aws_iotsitewise » CfnAssetModel » VariableValueProperty |
Identifies a property value used in an expression.
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';
const variableValueProperty: iotsitewise.CfnAssetModel.VariableValueProperty = {
hierarchyExternalId: 'hierarchyExternalId',
hierarchyId: 'hierarchyId',
hierarchyLogicalId: 'hierarchyLogicalId',
propertyExternalId: 'propertyExternalId',
propertyId: 'propertyId',
propertyLogicalId: 'propertyLogicalId',
propertyPath: [{
name: 'name',
}],
};
Properties
Name | Type | Description |
---|---|---|
hierarchy | string | The External ID of the hierarchy that is trying to be referenced. |
hierarchy | string | The ID of the hierarchy that is trying to be referenced. |
hierarchy | string | The LogicalID of the hierarchy to query for the PropertyLogicalID . |
property | string | The External ID of the property that is trying to be referenced. |
property | string | The ID of the property that is trying to be referenced. |
property | string | The LogicalID of the property that is being referenced. |
property | IResolvable | IResolvable | Property [] | The path of the property that is trying to be referenced. |
hierarchyExternalId?
Type:
string
(optional)
The External ID of the hierarchy that is trying to be referenced.
hierarchyId?
Type:
string
(optional)
The ID of the hierarchy that is trying to be referenced.
hierarchyLogicalId?
Type:
string
(optional)
The LogicalID
of the hierarchy to query for the PropertyLogicalID
.
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 asset models (hierarchies) in the AWS IoT SiteWise User Guide .
propertyExternalId?
Type:
string
(optional)
The External ID of the property that is trying to be referenced.
propertyId?
Type:
string
(optional)
The ID of the property that is trying to be referenced.
propertyLogicalId?
Type:
string
(optional)
The LogicalID
of the property that is being referenced.
propertyPath?
Type:
IResolvable
|
IResolvable
|
Property
[]
(optional)
The path of the property that is trying to be referenced.