import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AssetHierarchy { LogicalId ! : Value < string > ; ChildAssetId ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AssetProperty { LogicalId ! : Value < string > ; Alias ? : Value < string > ; NotificationState ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AssetProperties { AssetModelId : Value < string > ; AssetName : Value < string > ; AssetProperties ? : List < AssetProperty > ; AssetHierarchies ? : List < AssetHierarchy > ; Tags ? : List < ResourceTag > ; } export default class Asset extends ResourceBase < AssetProperties > { static AssetHierarchy = AssetHierarchy ; static AssetProperty = AssetProperty ; constructor ( properties ) { super ( 'AWS::IoTSiteWise::Asset' , properties ) ; } }