Skip to main content

elasticsearch_instance_types

Creates, updates, deletes, gets or lists an elasticsearch_instance_types resource.

Overview

Nameelasticsearch_instance_types
TypeResource
Idaws.es.elasticsearch_instance_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
elasticsearch_instance_typestringList of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_elasticsearch_instance_typesselectelasticsearch_version, regiondomainName, maxResults, nextTokenList all Elasticsearch instance types that are supported for given ElasticsearchVersion

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
elasticsearch_versionstringVersion of Elasticsearch for which list of supported elasticsearch instance types are needed.
regionstringAWS region (default: us-east-1)
domainNamestringDomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.
maxResultsintegerSet this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.
nextTokenstringNextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.

SELECT examples

List all Elasticsearch instance types that are supported for given ElasticsearchVersion

SELECT
elasticsearch_instance_type
FROM aws.es.elasticsearch_instance_types
WHERE elasticsearch_version = '{{ elasticsearch_version }}' -- required
AND region = '{{ region }}' -- required
AND domainName = '{{ domainName }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;