Interface CfnIndex.IndexSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndex.IndexSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnIndex
@Stability(Stable)
public static interface CfnIndex.IndexSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Index settings for the OpenSearch Serverless index.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchserverless.*;
IndexSettingsProperty indexSettingsProperty = IndexSettingsProperty.builder()
.analysis(AnalysisProperty.builder()
.analyzer(Map.of(
"analyzerKey", AnalyzerItemsProperty.builder()
.charFilter(List.of("charFilter"))
.filter(List.of("filter"))
.tokenizer("tokenizer")
.type("type")
.build()))
.build())
.index(IndexProperty.builder()
.knn(false)
.knnAlgoParamEfSearch(123)
.refreshInterval("refreshInterval")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndex.IndexSettingsPropertystatic final classAn implementation forCfnIndex.IndexSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnalysis
Custom analysis configuration including analyzers, tokenizers, and filters.Returns union: either
IResolvableorCfnIndex.AnalysisProperty- See Also:
-
getIndex
Index settings.Returns union: either
IResolvableorCfnIndex.IndexProperty- See Also:
-
builder
-