class Aws::IoTTwinMaker::Types::DataType

An object that specifies the data type of a property.

@note When making an API call, you may pass DataType

data as a hash:

    {
      allowed_values: [
        {
          boolean_value: false,
          double_value: 1.0,
          expression: "Expression",
          integer_value: 1,
          list_value: {
            # recursive DataValueList
          },
          long_value: 1,
          map_value: {
            "String" => {
              # recursive DataValue
            },
          },
          relationship_value: {
            target_component_name: "Name",
            target_entity_id: "EntityId",
          },
          string_value: "String",
        },
      ],
      nested_type: {
        allowed_values: [
          {
            boolean_value: false,
            double_value: 1.0,
            expression: "Expression",
            integer_value: 1,
            list_value: {
              # recursive DataValueList
            },
            long_value: 1,
            map_value: {
              "String" => {
                # recursive DataValue
              },
            },
            relationship_value: {
              target_component_name: "Name",
              target_entity_id: "EntityId",
            },
            string_value: "String",
          },
        ],
        nested_type: {
          # recursive DataType
        },
        relationship: {
          relationship_type: "String",
          target_component_type_id: "ComponentTypeId",
        },
        type: "RELATIONSHIP", # required, accepts RELATIONSHIP, STRING, LONG, BOOLEAN, INTEGER, DOUBLE, LIST, MAP
        unit_of_measure: "String",
      },
      relationship: {
        relationship_type: "String",
        target_component_type_id: "ComponentTypeId",
      },
      type: "RELATIONSHIP", # required, accepts RELATIONSHIP, STRING, LONG, BOOLEAN, INTEGER, DOUBLE, LIST, MAP
      unit_of_measure: "String",
    }

@!attribute [rw] allowed_values

The allowed values for this data type.
@return [Array<Types::DataValue>]

@!attribute [rw] nested_type

The nested type in the data type.
@return [Types::DataType]

@!attribute [rw] relationship

A relationship that associates a component with another component.
@return [Types::Relationship]

@!attribute [rw] type

The underlying type of the data type.
@return [String]

@!attribute [rw] unit_of_measure

The unit of measure used in this data type.
@return [String]

Constants

SENSITIVE