DataType - AWS IoT TwinMaker

DataType

An object that specifies the data type of a property.

Contents

type

The underlying type of the data type.

Type: String

Valid Values: RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP

Required: Yes

allowedValues

The allowed values for this data type.

Type: Array of DataValue objects

Array Members: Minimum number of 0 items. Maximum number of 50 items.

Required: No

nestedType

The nested type in the data type.

Type: DataType object

Required: No

relationship

A relationship that associates a component with another component.

Type: Relationship object

Required: No

unitOfMeasure

The unit of measure used in this data type.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: .*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: