Skip to main content

domain_names

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

Overview

Namedomain_names
TypeResource
Idaws.opensearch.domain_names

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_namesarrayThe names of all OpenSearch Service domains owned by the current user and their respective engine types.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_domain_namesselectregionengineTypeReturns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

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)
engineTypestringFilters the output by domain engine type.

SELECT examples

Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.

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