class Aws::IoTSiteWise::Types::VariableValue

Identifies a property value used in an expression.

@note When making an API call, you may pass VariableValue

data as a hash:

    {
      property_id: "Macro", # required
      hierarchy_id: "Macro",
    }

@!attribute [rw] property_id

The ID of the property to use as the variable. You can use the
property `name` if it's from the same asset model.
@return [String]

@!attribute [rw] hierarchy_id

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][1] in the *IoT SiteWise User Guide*.

[1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html
@return [String]

Constants

SENSITIVE