An input component that reports the environmental condition of a vehicle.
Note
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"AllowedValues" : [ String, ... ]
,
"DataType" : String
,
"Description" : String
,
"FullyQualifiedName" : String
,
"Max" : Number
,
"Min" : Number
,
"Unit" : String
}
YAML
AllowedValues:
- String
DataType: String
Description: String
FullyQualifiedName: String
Max: Number
Min: Number
Unit: String
Properties
AllowedValues
-
A list of possible values a sensor can take.
Required: No
Type: Array of String
Minimum:
1
Update requires: No interruption
DataType
-
The specified data type of the sensor.
Required: Yes
Type: String
Allowed values:
INT8 | UINT8 | INT16 | UINT16 | INT32 | UINT32 | INT64 | UINT64 | BOOLEAN | FLOAT | DOUBLE | STRING | UNIX_TIMESTAMP | INT8_ARRAY | UINT8_ARRAY | INT16_ARRAY | UINT16_ARRAY | INT32_ARRAY | UINT32_ARRAY | INT64_ARRAY | UINT64_ARRAY | BOOLEAN_ARRAY | FLOAT_ARRAY | DOUBLE_ARRAY | STRING_ARRAY | UNIX_TIMESTAMP_ARRAY | UNKNOWN
Update requires: No interruption
Description
-
A brief description of a sensor.
Required: No
Type: String
Pattern:
^[^\u0000-\u001F\u007F]+$
Minimum:
1
Maximum:
2048
Update requires: No interruption
FullyQualifiedName
-
The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be
Vehicle.Body.Engine.Battery
.Required: Yes
Type: String
Update requires: No interruption
Max
-
The specified possible maximum value of the sensor.
Required: No
Type: Number
Update requires: No interruption
Min
-
The specified possible minimum value of the sensor.
Required: No
Type: Number
Update requires: No interruption
Unit
-
The scientific unit of measurement for data collected by the sensor.
Required: No
Type: String
Update requires: No interruption