interface IndexProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpenSearchServerless.Mixins.CfnIndexPropsMixin.IndexProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopensearchserverless/mixins#CfnIndexPropsMixin_IndexProperty |
Java | software.amazon.awscdk.mixins.preview.services.opensearchserverless.mixins.CfnIndexPropsMixin.IndexProperty |
Python | aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnIndexPropsMixin.IndexProperty |
TypeScript | @aws-cdk/mixins-preview » aws_opensearchserverless » mixins » CfnIndexPropsMixin » IndexProperty |
An OpenSearch Serverless index resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as opensearchserverless_mixins } from '@aws-cdk/mixins-preview/aws-opensearchserverless';
const indexProperty: opensearchserverless_mixins.CfnIndexPropsMixin.IndexProperty = {
knn: false,
knnAlgoParamEfSearch: 123,
refreshInterval: 'refreshInterval',
};
Properties
| Name | Type | Description |
|---|---|---|
| knn? | boolean | IResolvable | Enable or disable k-nearest neighbor search capability. |
| knn | number | The size of the dynamic list for the nearest neighbors. |
| refresh | string | How often to perform a refresh operation. |
knn?
Type:
boolean | IResolvable
(optional)
Enable or disable k-nearest neighbor search capability.
knnAlgoParamEfSearch?
Type:
number
(optional)
The size of the dynamic list for the nearest neighbors.
refreshInterval?
Type:
string
(optional)
How often to perform a refresh operation.
For example, 1s or 5s.

.NET
Go
Java
Python
TypeScript