interface VectorIndexProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB.CfnTablePropsMixin.VectorIndexProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdynamodb#CfnTablePropsMixin_VectorIndexProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnTablePropsMixin.VectorIndexProperty |
Python | aws_cdk.cfn_property_mixins.aws_dynamodb.CfnTablePropsMixin.VectorIndexProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_dynamodb » CfnTablePropsMixin » VectorIndexProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from '@aws-cdk/cfn-property-mixins';
const vectorIndexProperty: dynamodb.CfnTablePropsMixin.VectorIndexProperty = {
dimensions: 123,
distanceFunction: 'distanceFunction',
indexName: 'indexName',
projection: {
nonKeyAttributes: ['nonKeyAttributes'],
projectionType: 'projectionType',
},
searchSchema: [{
attributeName: 'attributeName',
searchSchemaElementType: 'searchSchemaElementType',
}],
vectorAttribute: {
attributeName: 'attributeName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| dimensions? | number | |
| distance | string | |
| index | string | |
| projection? | IResolvable | Projection | Represents attributes that are copied (projected) from the table into an index. |
| search | IResolvable | (IResolvable | Search)[] | |
| vector | IResolvable | Vector |
dimensions?
Type:
number
(optional)
distanceFunction?
Type:
string
(optional)
indexName?
Type:
string
(optional)
projection?
Type:
IResolvable | Projection
(optional)
Represents attributes that are copied (projected) from the table into an index.
These are in addition to the primary key attributes and index key attributes, which are automatically projected.
searchSchema?
Type:
IResolvable | (IResolvable | Search)[]
(optional)
vectorAttribute?
Type:
IResolvable | Vector
(optional)

.NET
Go
Java
Python
TypeScript