ClickType in IoT event definition

I was wondering if I can use IoT clickType (SINGLE, DOUBLE, LONG) in serverless.yml?

1 Like

So, this is not possible to do in serverless.yml. I have ended up splitting code inside my handler, using event['clickType'] to route steps in Python code.