View a markdown version of this page

AWS::DynamoDB::GlobalTable SearchSchemaElement - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

AWS::DynamoDB::GlobalTable SearchSchemaElement

An element in the search schema of a vector index.

Syntax

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

JSON

{ "AttributeName" : String, "SearchSchemaElementType" : String }

Properties

AttributeName

The name of the attribute. This attribute must also be declared in the table's AttributeDefinitions.

Required: Yes

Type: String

Maximum: 65535

Update requires: Updates are not supported.

SearchSchemaElementType

The role of the attribute in the search schema. Valid values:

  • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

  • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.

Required: Yes

Type: String

Allowed values: HASH | INLINE_FILTER

Update requires: Updates are not supported.