AWS::OpenSearchServerless::Index - AWS CloudFormation (original) (raw)

SyntaxPropertiesReturn values

An OpenSearch Serverless index resource.

Syntax

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

JSON

{
  "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

Uuid

The unique identifier for the index.

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.