domain_names
Creates, updates, deletes, gets or lists a domain_names resource.
Overview
| Name | domain_names |
| Type | Resource |
| Id | aws.opensearch.domain_names |
Fields
The following fields are returned by SELECT queries:
- list_domain_names
| Name | Datatype | Description |
|---|---|---|
domain_names | array | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_domain_names | select | region | engineType | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
engineType | string | Filters the output by domain engine type. |
SELECT examples
- list_domain_names
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 }}'
;