import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Device { SyncShadow ? : Value < boolean > ; ThingArn ! : Value < string > ; Id ! : Value < string > ; CertificateArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DeviceDefinitionVersion { Devices ! : List < Device > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DeviceDefinitionProperties { InitialVersion ? : DeviceDefinitionVersion ; Tags ? : { [ key ] : any ; } ; Name : Value < string > ; } export default class DeviceDefinition extends ResourceBase < DeviceDefinitionProperties > { static Device = Device ; static DeviceDefinitionVersion = DeviceDefinitionVersion ; constructor ( properties ) { super ( 'AWS::Greengrass::DeviceDefinition' , properties ) ; } }