Stream logs to AWS elastic

Hi, Is there a way to configure cloud watch log streaming to AWS elastic directly with serverless.yml file ?

I mean, the option “Stream to amazon elasticsearch service” in cloud watch :
Capture%20du%202019-03-12%2008-47-28

Thanks