Interface CfnGlobalTable.VectorIndexProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTable.VectorIndexProperty.Jsii$Proxy
- Enclosing class:
CfnGlobalTable
@Stability(Stable)
public static interface CfnGlobalTable.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 forCfnGlobalTable.VectorIndexPropertystatic final classAn implementation forCfnGlobalTable.VectorIndexProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableorCfnGlobalTable.ProjectionPropertydefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGlobalTable.SearchSchemaElementProperty>Returns union: eitherIResolvableorCfnGlobalTable.VectorAttributePropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensions
- See Also:
-
getDistanceFunction
- See Also:
-
getIndexName
- See Also:
-
getProjection
Returns union: eitherIResolvableorCfnGlobalTable.ProjectionProperty- See Also:
-
getVectorAttribute
Returns union: eitherIResolvableorCfnGlobalTable.VectorAttributeProperty- See Also:
-
getSearchSchema
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGlobalTable.SearchSchemaElementProperty>- See Also:
-
builder
-