This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::IoTSiteWise::AssetModel AssetModelProperty
Contains information about an asset model property.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "DataType" :String, "DataTypeSpec" :String, "ExternalId" :String, "Id" :String, "LogicalId" :String, "Name" :String, "Type" :PropertyType, "Unit" :String}
YAML
DataType:StringDataTypeSpec:StringExternalId:StringId:StringLogicalId:StringName:StringType:PropertyTypeUnit:String
Properties
DataType-
The data type of the asset model property.
The
VIDEO,ANNOTATION, andJSONdata types aren't supported for asset model properties. These types are used only by time series that store data for datasets in a workspace.If you specify
STRUCT, you must also specifydataTypeSpecto identify the type of the structure for this property.Required: Yes
Type: String
Allowed values:
STRING | INTEGER | DOUBLE | BOOLEAN | STRUCTUpdate requires: No interruption
DataTypeSpec-
The data type of the structure for this property. This parameter exists on properties that have the
STRUCTdata type.Required: No
Type: String
Allowed values:
AWS/ALARM_STATEUpdate requires: No interruption
ExternalId-
The external ID of the asset property. For more information, see Using external IDs in the AWS IoT SiteWise User Guide.
Note
One of
ExternalIdorLogicalIdmust be specified.Required: No
Type: String
Pattern:
[a-zA-Z0-9_][a-zA-Z_\-0-9.:]*[a-zA-Z0-9_]+Minimum:
2Maximum:
128Update requires: No interruption
Id-
The ID of the property.
Note
This is a return value and can't be set.
Required: No
Type: String
Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Minimum:
36Maximum:
36Update requires: No interruption
LogicalId-
The
LogicalIDof the asset model property.Note
One of
ExternalIdorLogicalIdmust be specified.Required: No
Type: String
Pattern:
[^\u0000-\u001F\u007F]+Minimum:
1Maximum:
256Update requires: No interruption
Name-
The name of the asset model property.
Required: Yes
Type: String
Update requires: No interruption
Type-
Contains a property type, which can be one of
attribute,measurement,metric, ortransform.Required: Yes
Type: PropertyType
Update requires: No interruption
Unit-
The unit of the asset model property, such as
NewtonsorRPM.Required: No
Type: String
Update requires: No interruption