import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Attribute { JsonPath ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class InputDefinition { Attributes ! : List < Attribute > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface InputProperties { InputDefinition : InputDefinition ; InputDescription ? : Value < string > ; InputName ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class Input extends ResourceBase < InputProperties > { static Attribute = Attribute ; static InputDefinition = InputDefinition ; constructor ( properties ) { super ( 'AWS::IoTEvents::Input' , properties ) ; } }