Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AssetModelPropertyDefinition

import type { AssetModelPropertyDefinition } from "https://aws-api.deno.dev/v0.4/services/iotsitewise.ts?docs=full";

Contains an asset model property definition. This property definition is applied to all assets created from the asset model.

interface AssetModelPropertyDefinition {
dataType: PropertyDataType;
dataTypeSpec?: string | null;
name: string;
unit?: string | null;
}

§Properties

§

The data type of the property definition.

If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this property.

§
dataTypeSpec?: string | null
[src]

The data type of the structure for this property. This parameter is required on properties that have the STRUCT data type.

The options for this parameter depend on the type of the composite model in which you define this property. Use AWS/ALARM_STATE for alarm state in alarm composite models.

§
name: string
[src]

The name of the property definition.

§

The property definition type (see PropertyType). You can only specify one type in a property definition.

§
unit?: string | null
[src]

The unit of the property definition, such as Newtons or RPM.