--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_iotsitewise_asset_model Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::IoTSiteWise::AssetModel --- # awscc_iotsitewise_asset_model (Data Source) Data Source schema for AWS::IoTSiteWise::AssetModel ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `asset_model_arn` (String) The ARN of the asset model, which has the following format. - `asset_model_composite_models` (Attributes List) The composite asset models that are part of this asset model. Composite asset models are asset models that contain specific properties. (see [below for nested schema](#nestedatt--asset_model_composite_models)) - `asset_model_description` (String) A description for the asset model. - `asset_model_hierarchies` (Attributes List) The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model. (see [below for nested schema](#nestedatt--asset_model_hierarchies)) - `asset_model_id` (String) The ID of the asset model. - `asset_model_name` (String) A unique, friendly name for the asset model. - `asset_model_properties` (Attributes List) The property definitions of the asset model. You can specify up to 200 properties per asset model. (see [below for nested schema](#nestedatt--asset_model_properties)) - `tags` (Attributes List) A list of key-value pairs that contain metadata for the asset model. (see [below for nested schema](#nestedatt--tags)) ### Nested Schema for `asset_model_composite_models` Read-Only: - `composite_model_properties` (Attributes List) The property definitions of the asset model. You can specify up to 200 properties per asset model. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties)) - `description` (String) A description for the asset composite model. - `name` (String) A unique, friendly name for the asset composite model. - `type` (String) The type of the composite model. For alarm composite models, this type is AWS/ALARM ### Nested Schema for `asset_model_composite_models.composite_model_properties` Read-Only: - `data_type` (String) The data type of the asset model property. - `data_type_spec` (String) The data type of the structure for this property. - `logical_id` (String) Customer provided ID for property. - `name` (String) The name of the asset model property. - `type` (Attributes) The property type (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type)) - `unit` (String) The unit of the asset model property, such as Newtons or RPM. ### Nested Schema for `asset_model_composite_models.composite_model_properties.type` Read-Only: - `attribute` (Attributes) (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--attribute)) - `metric` (Attributes) (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--metric)) - `transform` (Attributes) (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--transform)) - `type_name` (String) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name` Read-Only: - `default_value` (String) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name` Read-Only: - `expression` (String) The mathematical expression that defines the metric aggregation function. You can specify up to 10 functions per expression. - `variables` (Attributes List) The list of variables used in the expression. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--variables)) - `window` (Attributes) The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--window)) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.variables` Read-Only: - `name` (String) The friendly name of the variable to be used in the expression. - `value` (Attributes) The variable that identifies an asset property from which to use values. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--variables--value)) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.variables.value` Read-Only: - `hierarchy_logical_id` (String) - `property_logical_id` (String) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.window` Read-Only: - `tumbling` (Attributes) Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--window--tumbling)) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.window.tumbling` Read-Only: - `interval` (String) The time interval for the tumbling window. - `offset` (String) The shift or reference point on timeline for the contiguous time intervals. ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name` Read-Only: - `expression` (String) The mathematical expression that defines the transformation function. You can specify up to 10 functions per expression. - `variables` (Attributes List) The list of variables used in the expression. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--variables)) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.variables` Read-Only: - `name` (String) The friendly name of the variable to be used in the expression. - `value` (Attributes) The variable that identifies an asset property from which to use values. (see [below for nested schema](#nestedatt--asset_model_composite_models--composite_model_properties--type--type_name--variables--value)) ### Nested Schema for `asset_model_composite_models.composite_model_properties.type.type_name.variables.value` Read-Only: - `hierarchy_logical_id` (String) - `property_logical_id` (String) ### Nested Schema for `asset_model_hierarchies` Read-Only: - `child_asset_model_id` (String) The ID of the asset model. All assets in this hierarchy must be instances of the child AssetModelId asset model. - `logical_id` (String) Customer provided ID for hierarchy. - `name` (String) The name of the asset model hierarchy. ### Nested Schema for `asset_model_properties` Read-Only: - `data_type` (String) The data type of the asset model property. - `data_type_spec` (String) The data type of the structure for this property. - `logical_id` (String) Customer provided ID for property. - `name` (String) The name of the asset model property. - `type` (Attributes) The property type (see [below for nested schema](#nestedatt--asset_model_properties--type)) - `unit` (String) The unit of the asset model property, such as Newtons or RPM. ### Nested Schema for `asset_model_properties.type` Read-Only: - `attribute` (Attributes) (see [below for nested schema](#nestedatt--asset_model_properties--type--attribute)) - `metric` (Attributes) (see [below for nested schema](#nestedatt--asset_model_properties--type--metric)) - `transform` (Attributes) (see [below for nested schema](#nestedatt--asset_model_properties--type--transform)) - `type_name` (String) ### Nested Schema for `asset_model_properties.type.attribute` Read-Only: - `default_value` (String) ### Nested Schema for `asset_model_properties.type.metric` Read-Only: - `expression` (String) The mathematical expression that defines the metric aggregation function. You can specify up to 10 functions per expression. - `variables` (Attributes List) The list of variables used in the expression. (see [below for nested schema](#nestedatt--asset_model_properties--type--metric--variables)) - `window` (Attributes) The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression (see [below for nested schema](#nestedatt--asset_model_properties--type--metric--window)) ### Nested Schema for `asset_model_properties.type.metric.window` Read-Only: - `name` (String) The friendly name of the variable to be used in the expression. - `value` (Attributes) The variable that identifies an asset property from which to use values. (see [below for nested schema](#nestedatt--asset_model_properties--type--metric--window--value)) ### Nested Schema for `asset_model_properties.type.metric.window.value` Read-Only: - `hierarchy_logical_id` (String) - `property_logical_id` (String) ### Nested Schema for `asset_model_properties.type.metric.window` Read-Only: - `tumbling` (Attributes) Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations. (see [below for nested schema](#nestedatt--asset_model_properties--type--metric--window--tumbling)) ### Nested Schema for `asset_model_properties.type.metric.window.tumbling` Read-Only: - `interval` (String) The time interval for the tumbling window. - `offset` (String) The shift or reference point on timeline for the contiguous time intervals. ### Nested Schema for `asset_model_properties.type.transform` Read-Only: - `expression` (String) The mathematical expression that defines the transformation function. You can specify up to 10 functions per expression. - `variables` (Attributes List) The list of variables used in the expression. (see [below for nested schema](#nestedatt--asset_model_properties--type--transform--variables)) ### Nested Schema for `asset_model_properties.type.transform.variables` Read-Only: - `name` (String) The friendly name of the variable to be used in the expression. - `value` (Attributes) The variable that identifies an asset property from which to use values. (see [below for nested schema](#nestedatt--asset_model_properties--type--transform--variables--value)) ### Nested Schema for `asset_model_properties.type.transform.variables.value` Read-Only: - `hierarchy_logical_id` (String) - `property_logical_id` (String) ### Nested Schema for `tags` Read-Only: - `key` (String) - `value` (String)