Skip to main content

collection_tags

Expands all tag keys and values for collections in a region

Overview

Namecollection_tags
TypeResource
DescriptionAmazon OpenSearchServerless collection resource
Idaws.opensearchserverless.collection_tags

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
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
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all collections in a region.

SELECT
region,
description,
id,
name,
arn,
collection_endpoint,
dashboard_endpoint,
type,
standby_replicas,
tag_key,
tag_value
FROM aws.opensearchserverless.collection_tags
WHERE region = 'us-east-1';

Permissions

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