interface CfnIndexMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpenSearchServerless.Mixins.CfnIndexMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopensearchserverless/mixins#CfnIndexMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.opensearchserverless.mixins.CfnIndexMixinProps |
Python | aws_cdk.mixins_preview.aws_opensearchserverless.mixins.CfnIndexMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_opensearchserverless » mixins » CfnIndexMixinProps |
Properties for CfnIndexPropsMixin.
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';
declare const propertyMappingProperty_: opensearchserverless_mixins.CfnIndexPropsMixin.PropertyMappingProperty;
const cfnIndexMixinProps: opensearchserverless_mixins.CfnIndexMixinProps = {
collectionEndpoint: 'collectionEndpoint',
indexName: 'indexName',
mappings: {
properties: {
propertiesKey: {
dimension: 123,
index: false,
method: {
engine: 'engine',
name: 'name',
parameters: {
efConstruction: 123,
m: 123,
},
spaceType: 'spaceType',
},
properties: {
propertiesKey: propertyMappingProperty_,
},
type: 'type',
value: 'value',
},
},
},
settings: {
index: {
knn: false,
knnAlgoParamEfSearch: 123,
refreshInterval: 'refreshInterval',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| collection | string | The endpoint for the collection. |
| index | string | The name of the OpenSearch Serverless index. |
| mappings? | IResolvable | Mappings | Index mappings for the OpenSearch Serverless index. |
| settings? | IResolvable | Index | Index settings for the OpenSearch Serverless index. |
collectionEndpoint?
Type:
string
(optional)
The endpoint for the collection.
indexName?
Type:
string
(optional)
The name of the OpenSearch Serverless index.
mappings?
Type:
IResolvable | Mappings
(optional)
Index mappings for the OpenSearch Serverless index.
settings?
Type:
IResolvable | Index
(optional)
Index settings for the OpenSearch Serverless index.

.NET
Go
Java
Python
TypeScript