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 PropertyMapping
Property mappings for the OpenSearch Serverless index.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Analyzer" :String, "CompressionLevel" :String, "Dimension" :Integer, "Index" :Boolean, "Method" :Method, "Properties" :{, "SpaceType" :Key:Value, ...}String, "Type" :String, "Value" :String}
YAML
Analyzer:StringCompressionLevel:StringDimension:IntegerIndex:BooleanMethod:MethodProperties:SpaceType:Key:ValueStringType:StringValue:String
Properties
AnalyzerProperty description not available.
Required: No
Type: String
Update requires: No interruption
CompressionLevelProperty description not available.
Required: No
Type: String
Allowed values:
16x | 32x | 8x | 4x | 2x | 1xUpdate requires: No interruption
Dimension-
Dimension size for vector fields, defines the number of dimensions in the vector.
Required: No
Type: Integer
Update requires: No interruption
Index-
Whether a field should be indexed.
Required: No
Type: Boolean
Update requires: No interruption
Method-
Configuration for k-NN search method.
Required: No
Type: Method
Update requires: No interruption
Properties-
Defines the fields within the mapping, including their types and configurations.
Required: No
Type: Object of PropertyMapping
Update requires: No interruption
SpaceTypeProperty description not available.
Required: No
Type: String
Allowed values:
l2 | l1 | linf | cosinesimil | innerproduct | hammingUpdate requires: No interruption
Type-
The field data type. Must be a valid OpenSearch field type.
Required: Yes
Type: String
Allowed values:
text | knn_vector | keyword | integerUpdate requires: No interruption
Value-
Default value for the field when not specified in a document.
Required: No
Type: String
Update requires: No interruption