Support of IAM for Elasticsearch Input plugin

Do we have support for passing IAM credentials for logstash using Elasticsearch input plugin?

Hello @vijayalakshmi_chanum , welcome to the community !
All the Elastic stack components do support IAM credentials (user or role), please refer for example: Cloudwatch input plugin | Logstash Reference [master] | Elastic
It's worth checking here as well which is more about ES running on AWS: Setup a Logstash Server on AWS with IAM Auth to Elasticsearch