Interface CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service.
For more information, see Create a vector index in Amazon OpenSearch Service .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
OpenSearchServerlessConfigurationProperty openSearchServerlessConfigurationProperty = OpenSearchServerlessConfigurationProperty.builder()
.collectionArn("collectionArn")
.fieldMapping(OpenSearchServerlessFieldMappingProperty.builder()
.metadataField("metadataField")
.textField("textField")
.vectorField("vectorField")
.build())
.vectorIndexName("vectorIndexName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCollectionArn
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.- See Also:
-
getFieldMapping
Contains the names of the fields to which to map information about the vector store.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.OpenSearchServerlessFieldMappingProperty- See Also:
-
getVectorIndexName
The name of the vector store.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty.Builder builder()
-