Interface CfnTablePropsMixin.VectorIndexProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.VectorIndexProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.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.cfnpropertymixins.services.dynamodb.*;
VectorIndexProperty vectorIndexProperty = VectorIndexProperty.builder()
.dimensions(123)
.distanceFunction("distanceFunction")
.indexName("indexName")
.projection(ProjectionProperty.builder()
.nonKeyAttributes(List.of("nonKeyAttributes"))
.projectionType("projectionType")
.build())
.searchSchema(List.of(SearchSchemaElementProperty.builder()
.attributeName("attributeName")
.searchSchemaElementType("searchSchemaElementType")
.build()))
.vectorAttribute(VectorAttributeProperty.builder()
.attributeName("attributeName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.VectorIndexPropertystatic final classAn implementation forCfnTablePropsMixin.VectorIndexProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Numberdefault Stringdefault Stringdefault ObjectRepresents attributes that are copied (projected) from the table into an index.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTablePropsMixin.SearchSchemaElementProperty>default ObjectReturns union: eitherIResolvableorCfnTablePropsMixin.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
IResolvableorCfnTablePropsMixin.ProjectionProperty- See Also:
-
getSearchSchema
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnTablePropsMixin.SearchSchemaElementProperty>- See Also:
-
getVectorAttribute
Returns union: eitherIResolvableorCfnTablePropsMixin.VectorAttributeProperty- See Also:
-
builder
-