Class CfnIndexProps.Jsii$Proxy
- All Implemented Interfaces:
CfnIndexProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnIndexProps
CfnIndexProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3vectors.CfnIndexProps
CfnIndexProps.Builder, CfnIndexProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnIndexProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnIndexProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe data type of the vectors to be inserted into the vector index.final NumberThe dimensions of the vectors to be inserted into the vector index.final StringThe distance metric to be used for similarity search.final ObjectThe encryption configuration for a vector index.final StringThe name of the vector index to create.final ObjectThe metadata configuration for the vector index.final StringThe Amazon Resource Name (ARN) of the vector bucket that contains the vector index.final StringThe name of the vector bucket that contains the vector index.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnIndexProps.Builder.
-
-
Method Details
-
getDataType
Description copied from interface:CfnIndexPropsThe data type of the vectors to be inserted into the vector index.Currently, only
float32is supported, which represents 32-bit floating-point numbers.- Specified by:
getDataTypein interfaceCfnIndexProps- See Also:
-
getDimension
Description copied from interface:CfnIndexPropsThe dimensions of the vectors to be inserted into the vector index.This value must be between 1 and 4096, inclusive. All vectors stored in the index must have the same number of dimensions.
The dimension value affects the storage requirements and search performance. Higher dimensions require more storage space and may impact search latency.
- Specified by:
getDimensionin interfaceCfnIndexProps- See Also:
-
getDistanceMetric
Description copied from interface:CfnIndexPropsThe distance metric to be used for similarity search. Valid values are:.cosine- Measures the cosine of the angle between two vectors.euclidean- Measures the straight-line distance between two points in multi-dimensional space. Lower values indicate greater similarity.
- Specified by:
getDistanceMetricin interfaceCfnIndexProps- See Also:
-
getEncryptionConfiguration
Description copied from interface:CfnIndexPropsThe encryption configuration for a vector index.By default, if you don't specify, all new vectors in the vector index will use the encryption configuration of the vector bucket.
Returns union: either
IResolvableorCfnIndex.EncryptionConfigurationProperty- Specified by:
getEncryptionConfigurationin interfaceCfnIndexProps- See Also:
-
getIndexName
Description copied from interface:CfnIndexPropsThe name of the vector index to create.The index name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, hyphens (-), and dots (.). The index name must be unique within the vector bucket.
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the index name.
If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
- Specified by:
getIndexNamein interfaceCfnIndexProps- See Also:
-
getMetadataConfiguration
Description copied from interface:CfnIndexPropsThe metadata configuration for the vector index.Returns union: either
IResolvableorCfnIndex.MetadataConfigurationProperty- Specified by:
getMetadataConfigurationin interfaceCfnIndexProps- See Also:
-
getVectorBucketArn
Description copied from interface:CfnIndexPropsThe Amazon Resource Name (ARN) of the vector bucket that contains the vector index.- Specified by:
getVectorBucketArnin interfaceCfnIndexProps- See Also:
-
getVectorBucketName
Description copied from interface:CfnIndexPropsThe name of the vector bucket that contains the vector index.- Specified by:
getVectorBucketNamein interfaceCfnIndexProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-