Interface CfnTable.VectorIndexProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.VectorIndexProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.VectorIndexProperty
extends software.amazon.jsii.JsiiSerializable
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.dynamodb.*;
VectorIndexProperty vectorIndexProperty = VectorIndexProperty.builder()
.dimensions(123)
.distanceFunction("distanceFunction")
.indexName("indexName")
.projection(ProjectionProperty.builder()
.nonKeyAttributes(List.of("nonKeyAttributes"))
.projectionType("projectionType")
.build())
.vectorAttribute(VectorAttributeProperty.builder()
.attributeName("attributeName")
.build())
// the properties below are optional
.searchSchema(List.of(SearchSchemaElementProperty.builder()
.attributeName("attributeName")
.searchSchemaElementType("searchSchemaElementType")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.VectorIndexPropertystatic final classAn implementation forCfnTable.VectorIndexProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Represents attributes that are copied (projected) from the table into an index.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.SearchSchemaElementProperty>Returns union: eitherIResolvableorCfnTable.VectorAttributePropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensions
- See Also:
-
getDistanceFunction
- See Also:
-
getIndexName
- See Also:
-
getProjection
Represents attributes that are copied (projected) from the table into an index.These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Returns union: either
IResolvableorCfnTable.ProjectionProperty- See Also:
-
getVectorAttribute
Returns union: eitherIResolvableorCfnTable.VectorAttributeProperty- See Also:
-
getSearchSchema
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.SearchSchemaElementProperty>- See Also:
-
builder
-