/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource schema for AWS::IoTSiteWise::Asset */ export interface AwsIotsitewiseAsset { /** * The ID of the asset */ AssetId?: string; /** * The ID of the asset model from which to create the asset. */ AssetModelId: string; /** * The ARN of the asset */ AssetArn?: string; /** * A unique, friendly name for the asset. */ AssetName: string; /** * A description for the asset */ AssetDescription?: string; AssetProperties?: AssetProperty[]; AssetHierarchies?: AssetHierarchy[]; /** * A list of key-value pairs that contain metadata for the asset. */ Tags?: Tag[]; } /** * The asset property's definition, alias, unit, and notification state. */ export interface AssetProperty { /** * Customer provided ID for property. */ LogicalId: string; /** * The property alias that identifies the property. */ Alias?: string; /** * The MQTT notification state (ENABLED or DISABLED) for this asset property. */ NotificationState?: "ENABLED" | "DISABLED"; /** * The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model. */ Unit?: string; } /** * A hierarchy specifies allowed parent/child asset relationships. */ export interface AssetHierarchy { /** * The LogicalID of a hierarchy in the parent asset's model. */ LogicalId: string; /** * The ID of the child asset to be associated. */ ChildAssetId: string; } export interface Tag { Key: string; Value: string; }