AWS::IoTTwinMaker::ComponentType DataType
An object that specifies the data type of a property.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AllowedValues" :
[ DataValue, ... ]
, "NestedType" :DataType
, "Relationship" :Relationship
, "Type" :String
, "UnitOfMeasure" :String
}
YAML
AllowedValues:
- DataValue
NestedType:DataType
Relationship:Relationship
Type:String
UnitOfMeasure:String
Properties
AllowedValues
-
The allowed values for this data type.
Required: No
Type: Array of DataValue
Minimum:
0
Maximum:
50
Update requires: No interruption
NestedType
-
The nested type in the data type.
Required: No
Type: DataType
Update requires: No interruption
Relationship
-
A relationship that associates a component with another component.
Required: No
Type: Relationship
Update requires: No interruption
Type
-
The underlying type of the data type.
Valid Values:
RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP
Required: Yes
Type: String
Allowed values:
RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP
Update requires: No interruption
UnitOfMeasure
-
The unit of measure used in this data type.
Required: No
Type: String
Pattern:
.*
Minimum:
1
Maximum:
256
Update requires: No interruption