interface VectorIndexProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DynamoDB.CfnGlobalTablePropsMixin.VectorIndexProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdynamodb#CfnGlobalTablePropsMixin_VectorIndexProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnGlobalTablePropsMixin.VectorIndexProperty |
Python | aws_cdk.cfn_property_mixins.aws_dynamodb.CfnGlobalTablePropsMixin.VectorIndexProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_dynamodb » CfnGlobalTablePropsMixin » 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.CfnGlobalTablePropsMixin.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 | |
| search | IResolvable | (IResolvable | Search)[] | |
| vector | IResolvable | Vector |
dimensions?
Type:
number
(optional)
distanceFunction?
Type:
string
(optional)
indexName?
Type:
string
(optional)
projection?
Type:
IResolvable | Projection
(optional)
searchSchema?
Type:
IResolvable | (IResolvable | Search)[]
(optional)
vectorAttribute?
Type:
IResolvable | Vector
(optional)

.NET
Go
Java
Python
TypeScript