Skip to main content

domain_names

Creates, updates, deletes, gets or lists a domain_names resource.

Overview​

Namedomain_names
TypeResource
Idaws.es.domain_names

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_namesarrayList of domain names and respective engine types.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_domain_namesselectregionengineTypeReturns the name of all Elasticsearch domains owned by the current user's account.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
engineTypestringOptional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'.

SELECT examples​

Returns the name of all Elasticsearch domains owned by the current user's account.

SELECT
domain_names
FROM aws.es.domain_names
WHERE region = '{{ region }}' -- required
AND engineType = '{{ engineType }}'
;