cakephp/elastic-search plugin uses Elastica to connect to ElasticSearch, so it should be possible to connect to AWS's one too, but I have no idea how to make it possible.
I use ElasticSearch 6.2 and cakephp/elastic-search 2.0.0-beta
Any help is sincerely appreciated.
CakePHP is an open source, MVC framework for PHP. This tutorial walks you through the process of generating a CakePHP project, deploying it to an Elastic Beanstalk environment, and configuring it to connect to an Amazon RDS database instance.
You can refer to the below link.