Specific roles for ElasticSearch nodes?

I am wondering if nodes belonging to an AWS ElasticSearch Cluster can be assigned specific Roles ?
For ex : For Cluster Stability and Consistency reasons, I may want 2 nodes in my 10 node ElasticSearch
Cluster to be dedicated to serving : Ingest and Transform roles. Is that doable with AWS ElasticSearch ?

Look forward to your response.

Thanks and regards,
Deepak