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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#hierarchy_idString

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.

Returns:

  • (String)

    The ID of the hierarchy to query for the property ID.

#property_idString

The ID of the property to use as the variable. You can use the property name if it\'s from the same asset model.

Returns:

  • (String)

    The ID of the property to use as the variable.