Skip to main content

instance_type_details

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

Overview

Nameinstance_type_details
TypeResource
Idaws.opensearch.instance_type_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
instance_type_detailsarrayLists all supported instance types and features for the given OpenSearch or Elasticsearch version.
next_tokenstringWhen nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_instance_type_detailsselectengine_version, regiondomainName, maxResults, nextToken, retrieveAZs, instanceTypeLists all instance types and available features for a given OpenSearch or Elasticsearch version.

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
engine_versionstringThe version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
regionstringAWS region (default: us-east-1)
domainNamestringThe name of the domain.
instanceTypestringAn optional parameter that lists information for a given instance type.
maxResultsintegerAn optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.
nextTokenstringIf your initial ListInstanceTypeDetails operation returns a nextToken, you can include the returned nextToken in subsequent ListInstanceTypeDetails operations, which returns results in the next page.
retrieveAZsbooleanAn optional parameter that specifies the Availability Zones for the domain.

SELECT examples

Lists all instance types and available features for a given OpenSearch or Elasticsearch version.

SELECT
instance_type_details,
next_token
FROM aws.opensearch.instance_type_details
WHERE engine_version = '{{ engine_version }}' -- required
AND region = '{{ region }}' -- required
AND domainName = '{{ domainName }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
AND retrieveAZs = '{{ retrieveAZs }}'
AND instanceType = '{{ instanceType }}'
;