AWS::OpenSearchServerless::Index - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::OpenSearchServerless::Index

An OpenSearch Serverless index resource.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::OpenSearchServerless::Index", "Properties" : { "CollectionEndpoint" : String, "IndexName" : String, "Mappings" : Mappings, "Settings" : IndexSettings } }

YAML

Type: AWS::OpenSearchServerless::Index Properties: CollectionEndpoint: String IndexName: String Mappings: Mappings Settings: IndexSettings

Properties

CollectionEndpoint

The endpoint for the collection.

Required: Yes

Type: String

Update requires: Replacement

IndexName

The name of the OpenSearch Serverless index.

Required: Yes

Type: String

Pattern: ^(?![_-])[a-z][a-z0-9_-]*$

Update requires: Replacement

Mappings

Index mappings for the OpenSearch Serverless index.

Required: No

Type: Mappings

Update requires: No interruption

Settings

Index settings for the OpenSearch Serverless index.

Required: No

Type: IndexSettings

Update requires: No interruption

Return values

Ref

The index name and the collection endpoint in the following format: index name|endpoint. Here's an example:

1234TestIndex|12345678TestEndPoint.us-east-1.aoss.amazonaws.com.

Fn::GetAtt

GetAtt returns a value for a specified attribute of this type. For more information, see Fn::GetAtt. The following are the available attributes and sample return values.

Uuid

The unique identifier for the index.