elasticsearch_domain#

Exec module for managing Amazon Elasticsearch Service Domain

async idem_aws.exec.aws.es.elasticsearch_domain.get(hub, ctx, name: str, resource_id: str)[source]#

Get the domain configuration information about the specified Elasticsearch domain

Parameters:
  • name (str) – An Idem name of the resource.

  • resource_id (str) – The name of the Elasticsearch domain.

Returns:

{"result": True|False, "comment": A message List, "ret": None|Dict}

Examples

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.es.elasticsearch_domain.get
    - kwargs:
        name: my_resource
        resource_id: resource_id

Calling this exec function from the cli with resource_id:

idem exec aws.es.elasticsearch_domain.get resource_id="resource_id" name="name"