Skip to main content

collections_list_only

Lists collections in a region or regions, for all properties use collections

Overview

Namecollections_list_only
TypeResource
DescriptionAmazon OpenSearchServerless collection resource
Idaws.opensearchserverless.collections_list_only

Fields

NameDatatypeDescription
descriptionstringThe description of the collection
idstringThe identifier of the collection
namestringThe name of the collection.
The name must meet the following criteria:
Unique to your account and AWS Region
Starts with a lowercase letter
Contains only lowercase letters a-z, the numbers 0-9 and the hyphen (-)
Contains between 3 and 32 characters
tagsarrayList of tags to be added to the resource
arnstringThe Amazon Resource Name (ARN) of the collection.
collection_endpointstringThe endpoint for the collection.
dashboard_endpointstringThe OpenSearch Dashboards endpoint for the collection.
typestringThe possible types for the collection
standby_replicasstringThe possible standby replicas for the collection
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all collections in a region.

SELECT
region,
id
FROM aws.opensearchserverless.collections_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the collections_list_only resource, see collections