https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html mentions that auto creation of index can be disabled by
Automatic index creation can be disabled by setting action.auto_create_index to false in the config file of all nodes.
How can this be done in Elasticsearch as a service using the Java AWSElasticsearchClient class or in any other way?