How to implement document_id/doc_as_upsert/action setting with amazon_es plugin

Hello,

I am trying to upload the data to the elastic search (hosted in AWS) via logstash with the amazon_es plugin as an output plugin. the issue i am facing with the amazon_es plugin I am unable to implement the document_id/doc_as_upsert/action setting, is there any other way can achieve this?