Resource schema for AWS::IoTSiteWise::AssetModel
asset_model_name
(String) A unique, friendly name for the asset model.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)asset_model_description
(String) A description for the asset model.asset_model_external_id
(String) The external ID of 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)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)asset_model_type
(String) The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL)tags
(Attributes List) A list of key-value pairs that contain metadata for the asset model. (see below for nested schema)asset_model_arn
(String) The ARN of the asset model, which has the following format.asset_model_id
(String) The ID of the asset model.id
(String) Uniquely identifies the resource.asset_model_composite_models
Required:
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/ALARMOptional:
composed_asset_model_id
(String) The component model ID for which the composite model is composed ofcomposite_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)description
(String) A description for the asset composite model.external_id
(String) The External ID of the composite modelid
(String) The Actual ID of the composite modelparent_asset_model_composite_model_external_id
(String) The parent composite model External IDpath
(List of String) The path of the composite model. This is only for derived composite modelsasset_model_composite_models.composite_model_properties
Required:
data_type
(String) The data type of the asset model property.name
(String) The name of the asset model property.type
(Attributes) The property type (see below for nested schema)Optional:
data_type_spec
(String) The data type of the structure for this property.external_id
(String) The External ID of the Asset Model Propertyid
(String) The ID of the Asset Model Propertylogical_id
(String) Customer provided Logical ID for property.unit
(String) The unit of the asset model property, such as Newtons or RPM.asset_model_composite_models.composite_model_properties.type
Required:
type_name
(String)Optional:
attribute
(Attributes) (see below for nested schema)metric
(Attributes) (see below for nested schema)transform
(Attributes) (see below for nested schema)asset_model_composite_models.composite_model_properties.type.attribute
Optional:
default_value
(String)asset_model_composite_models.composite_model_properties.type.metric
Required:
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)window
(Attributes) The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression (see below for nested schema)asset_model_composite_models.composite_model_properties.type.transform.variables
Required:
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)asset_model_composite_models.composite_model_properties.type.transform.variables.value
Optional:
hierarchy_external_id
(String) The External ID of the hierarchy that is trying to be referencedhierarchy_id
(String) The ID of the hierarchy that is trying to be referencedhierarchy_logical_id
(String)property_external_id
(String) The External ID of the property that is trying to be referencedproperty_id
(String) The ID of the property that is trying to be referencedproperty_logical_id
(String)property_path
(Attributes List) The path of the property that is trying to be referenced (see below for nested schema)asset_model_composite_models.composite_model_properties.type.transform.variables.value.property_path
Required:
name
(String) The name of the propertyasset_model_composite_models.composite_model_properties.type.transform.window
Optional:
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)asset_model_composite_models.composite_model_properties.type.transform.window.tumbling
Required:
interval
(String) The time interval for the tumbling window.Optional:
offset
(String) The shift or reference point on timeline for the contiguous time intervals.asset_model_composite_models.composite_model_properties.type.transform
Required:
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)asset_model_composite_models.composite_model_properties.type.transform.variables
Required:
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)asset_model_composite_models.composite_model_properties.type.transform.variables.value
Optional:
hierarchy_external_id
(String) The External ID of the hierarchy that is trying to be referencedhierarchy_id
(String) The ID of the hierarchy that is trying to be referencedhierarchy_logical_id
(String)property_external_id
(String) The External ID of the property that is trying to be referencedproperty_id
(String) The ID of the property that is trying to be referencedproperty_logical_id
(String)property_path
(Attributes List) The path of the property that is trying to be referenced (see below for nested schema)asset_model_composite_models.composite_model_properties.type.transform.variables.value.property_path
Required:
name
(String) The name of the propertyasset_model_hierarchies
Required:
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.name
(String) The name of the asset model hierarchy.Optional:
external_id
(String) Customer provided external ID for hierarchyid
(String) Customer provided actual ID for hierarchylogical_id
(String) Customer provided logical ID for hierarchy.asset_model_properties
Required:
data_type
(String) The data type of the asset model property.name
(String) The name of the asset model property.type
(Attributes) The property type (see below for nested schema)Optional:
data_type_spec
(String) The data type of the structure for this property.external_id
(String) The External ID of the Asset Model Propertyid
(String) The ID of the Asset Model Propertylogical_id
(String) Customer provided Logical ID for property.unit
(String) The unit of the asset model property, such as Newtons or RPM.asset_model_properties.type
Required:
type_name
(String)Optional:
attribute
(Attributes) (see below for nested schema)metric
(Attributes) (see below for nested schema)transform
(Attributes) (see below for nested schema)asset_model_properties.type.attribute
Optional:
default_value
(String)asset_model_properties.type.metric
Required:
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)window
(Attributes) The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression (see below for nested schema)asset_model_properties.type.metric.variables
Required:
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)asset_model_properties.type.metric.window.value
Optional:
hierarchy_external_id
(String) The External ID of the hierarchy that is trying to be referencedhierarchy_id
(String) The ID of the hierarchy that is trying to be referencedhierarchy_logical_id
(String)property_external_id
(String) The External ID of the property that is trying to be referencedproperty_id
(String) The ID of the property that is trying to be referencedproperty_logical_id
(String)property_path
(Attributes List) The path of the property that is trying to be referenced (see below for nested schema)asset_model_properties.type.metric.window.value.property_path
Required:
name
(String) The name of the propertyasset_model_properties.type.metric.window
Optional:
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)asset_model_properties.type.metric.window.tumbling
Required:
interval
(String) The time interval for the tumbling window.Optional:
offset
(String) The shift or reference point on timeline for the contiguous time intervals.asset_model_properties.type.transform
Required:
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)asset_model_properties.type.transform.variables
Required:
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)asset_model_properties.type.transform.variables.value
Optional:
hierarchy_external_id
(String) The External ID of the hierarchy that is trying to be referencedhierarchy_id
(String) The ID of the hierarchy that is trying to be referencedhierarchy_logical_id
(String)property_external_id
(String) The External ID of the property that is trying to be referencedproperty_id
(String) The ID of the property that is trying to be referencedproperty_logical_id
(String)property_path
(Attributes List) The path of the property that is trying to be referenced (see below for nested schema)asset_model_properties.type.transform.variables.value.property_path
Required:
name
(String) The name of the propertytags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_iotsitewise_asset_model.example <resource ID>