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:
JSON
{ "Dimensions" :Integer, "DistanceFunction" :String, "IndexName" :String, "Projection" :Projection, "SearchSchema" :[ SearchSchemaElement, ... ], "VectorAttribute" :VectorAttribute}
YAML
Dimensions:IntegerDistanceFunction:StringIndexName:StringProjection:ProjectionSearchSchema:- SearchSchemaElementVectorAttribute:VectorAttribute
Properties
Dimensions-
The number of dimensions in each vector.
Required: Yes
Type: Integer
Minimum:
1Maximum:
4096Update 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 | EUCLIDEANUpdate requires: No interruption
IndexName-
The name of the vector index.
Required: Yes
Type: String
Pattern:
[a-zA-Z0-9_.-]+Minimum:
3Maximum:
255Update 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:
1Update requires: No interruption
VectorAttribute-
The vector attribute configuration for the index.
Required: Yes
Type: VectorAttribute
Update requires: No interruption