import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class UpdateWirelessGatewayTaskCreate { UpdateDataSource ? : Value < string > ; UpdateDataRole ? : Value < string > ; LoRaWAN ? : LoRaWANUpdateGatewayTaskCreate ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class LoRaWANUpdateGatewayTaskEntry { CurrentVersion ? : LoRaWANGatewayVersion ; UpdateVersion ? : LoRaWANGatewayVersion ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class LoRaWANGatewayVersion { PackageVersion ? : Value < string > ; Model ? : Value < string > ; Station ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class LoRaWANUpdateGatewayTaskCreate { UpdateSignature ? : Value < string > ; SigKeyCrc ? : Value < number > ; CurrentVersion ? : LoRaWANGatewayVersion ; UpdateVersion ? : LoRaWANGatewayVersion ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface TaskDefinitionProperties { Name ? : Value < string > ; AutoCreateTasks : Value < boolean > ; Update ? : UpdateWirelessGatewayTaskCreate ; LoRaWANUpdateGatewayTaskEntry ? : LoRaWANUpdateGatewayTaskEntry ; TaskDefinitionType ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class TaskDefinition extends ResourceBase < TaskDefinitionProperties > { static UpdateWirelessGatewayTaskCreate = UpdateWirelessGatewayTaskCreate ; static LoRaWANUpdateGatewayTaskEntry = LoRaWANUpdateGatewayTaskEntry ; static LoRaWANGatewayVersion = LoRaWANGatewayVersion ; static LoRaWANUpdateGatewayTaskCreate = LoRaWANUpdateGatewayTaskCreate ; constructor ( properties ) { super ( 'AWS::IoTWireless::TaskDefinition' , properties ) ; } }