# VectorSearchConfigurationProperty

Struct · External

The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.

- Source: Generated at build time
- Type last changed: v2.117.0 · 27 Dec 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptunegraph as neptunegraph } from 'aws-cdk-lib';
const vectorSearchConfigurationProperty: neptunegraph.CfnGraph.VectorSearchConfigurationProperty = {
  vectorSearchDimension: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_neptunegraph as neptunegraph

vector_search_configuration_property = neptunegraph.CfnGraph.VectorSearchConfigurationProperty(
    vector_search_dimension=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.neptunegraph.*;

VectorSearchConfigurationProperty vectorSearchConfigurationProperty = VectorSearchConfigurationProperty.builder()
        .vectorSearchDimension(123)
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NeptuneGraph;

var vectorSearchConfigurationProperty = new VectorSearchConfigurationProperty {
    VectorSearchDimension = 123
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vectorSearchConfigurationProperty := &VectorSearchConfigurationProperty{
	VectorSearchDimension: jsii.Number(123),
}
```

## Properties

- `vectorSearchDimension`: number (required) — The number of dimensions.
