Skip to main content

collection

Gets an individual collection resource

Overview

Namecollection
TypeResource
Descriptioncollection
Idawscc.opensearchserverless.collection

Fields

NameDatatypeDescription
descriptionstringThe description of the collection
idstringThe identifier of the collection
namestringThe name of the collection.<br/><br/>The name must meet the following criteria:<br/>Unique to your account and AWS Region<br/>Starts with a lowercase letter<br/>Contains only lowercase letters a-z, the numbers 0-9 and the hyphen (-)<br/>Contains between 3 and 32 characters<br/>
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.
typestring
standby_replicasstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
description,
id,
name,
tags,
arn,
collection_endpoint,
dashboard_endpoint,
type,
standby_replicas
FROM awscc.opensearchserverless.collection
WHERE data__Identifier = '<Id>';

Permissions

To operate on the collection resource, the following permissions are required:

Delete

aoss:DeleteCollection,
aoss:BatchGetCollection

Read

aoss:BatchGetCollection

Update

aoss:UpdateCollection,
aoss:BatchGetCollection