You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::VariableValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::VariableValue
- Defined in:
- (unknown)
Overview
When passing VariableValue as input to an Aws::Client method, you can use a vanilla Hash:
{
property_id: "Macro", # required
hierarchy_id: "Macro",
}
Identifies a property value used in an expression.
Returned by:
Instance Attribute Summary collapse
-
#hierarchy_id ⇒ String
The ID of the hierarchy to query for the property ID.
-
#property_id ⇒ String
The ID of the property to use as the variable.
Instance Attribute Details
#hierarchy_id ⇒ String
The ID of the hierarchy to query for the property ID. You can use the hierarchy\'s name instead of the hierarchy\'s ID.
You use a hierarchy ID instead of a model ID because you can have
several hierarchies using the same model and therefore the same
propertyId
. For example, you might have separately grouped assets that
come from the same asset model. For more information, see Asset
hierarchies in the AWS IoT SiteWise User Guide.
#property_id ⇒ String
The ID of the property to use as the variable. You can use the property
name
if it\'s from the same asset model.