Interface CfnIndexProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndexProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:14.261Z")
@Stability(Stable)
public interface CfnIndexProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnIndex.
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.s3vectors.*;
CfnIndexProps cfnIndexProps = CfnIndexProps.builder()
.dataType("dataType")
.dimension(123)
.distanceMetric("distanceMetric")
// the properties below are optional
.indexName("indexName")
.metadataConfiguration(MetadataConfigurationProperty.builder()
.nonFilterableMetadataKeys(List.of("nonFilterableMetadataKeys"))
.build())
.vectorBucketArn("vectorBucketArn")
.vectorBucketName("vectorBucketName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndexPropsstatic final classAn implementation forCfnIndexProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIndexProps.Builderbuilder()The data type of the vectors to be inserted into the vector index.The dimensions of the vectors to be inserted into the vector index.The distance metric to be used for similarity search.default StringThe name of the vector index to create.default ObjectThe metadata configuration for the vector index.default StringThe Amazon Resource Name (ARN) of the vector bucket.default StringThe name of the vector bucket that contains the vector index.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataType
The data type of the vectors to be inserted into the vector index.- See Also:
-
getDimension
The dimensions of the vectors to be inserted into the vector index.- See Also:
-
getDistanceMetric
The distance metric to be used for similarity search.- See Also:
-
getIndexName
The name of the vector index to create.- See Also:
-
getMetadataConfiguration
The metadata configuration for the vector index.Returns union: either
IResolvableorCfnIndex.MetadataConfigurationProperty- See Also:
-
getVectorBucketArn
The Amazon Resource Name (ARN) of the vector bucket.- See Also:
-
getVectorBucketName
The name of the vector bucket that contains the vector index.- See Also:
-
builder
- Returns:
- a
CfnIndexProps.BuilderofCfnIndexProps
-