View a markdown version of this page

AWS::DynamoDB::Table VectorIndex - AWS CloudFormation

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::DynamoDB::Table VectorIndex

Contains the configuration settings for a vector index, including the index name, vector attribute, dimensions, distance function, search schema, and projection.

Syntax

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

Properties

Dimensions

The number of dimensions in each vector.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 4096

Update requires: No interruption

DistanceFunction

The distance function used to calculate similarity between vectors. Valid values: COSINE, EUCLIDEAN, DOT_PRODUCT.

Required: Yes

Type: String

Allowed values: COSINE | DOT_PRODUCT | EUCLIDEAN

Update requires: No interruption

IndexName

The name of the vector index.

Required: Yes

Type: String

Pattern: [a-zA-Z0-9_.-]+

Minimum: 3

Maximum: 255

Update requires: No interruption

Projection

Specifies attributes that are copied (projected) from the table into the vector index.

Required: Yes

Type: Projection

Update requires: No interruption

SearchSchema

The search schema that defines partition key and inline filter attributes for the vector index.

Required: No

Type: Array of SearchSchemaElement

Minimum: 1

Update requires: No interruption

VectorAttribute

The vector attribute configuration for the index.

Required: Yes

Type: VectorAttribute

Update requires: No interruption