# NeptuneAnalyticsConfigurationProperty

Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics.

For more information, see [Create a vector index in Amazon Neptune Analytics](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html) .

- Source: Generated at build time
- Type last changed: v2.188.0 · 4 Apr 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const neptuneAnalyticsConfigurationProperty: bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty = {
  fieldMapping: {
    metadataField: 'metadataField',
    textField: 'textField',
  },
  graphArn: 'graphArn',
};
```

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_bedrock as bedrock

neptune_analytics_configuration_property = bedrock.CfnKnowledgeBase.NeptuneAnalyticsConfigurationProperty(
    field_mapping=bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty(
        metadata_field="metadataField",
        text_field="textField"
    ),
    graph_arn="graphArn"
)
```

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.bedrock.*;

NeptuneAnalyticsConfigurationProperty neptuneAnalyticsConfigurationProperty = NeptuneAnalyticsConfigurationProperty.builder()
        .fieldMapping(NeptuneAnalyticsFieldMappingProperty.builder()
                .metadataField("metadataField")
                .textField("textField")
                .build())
        .graphArn("graphArn")
        .build();
```

C# / .NET:

```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.Bedrock;

var neptuneAnalyticsConfigurationProperty = new NeptuneAnalyticsConfigurationProperty {
    FieldMapping = new NeptuneAnalyticsFieldMappingProperty {
        MetadataField = "metadataField",
        TextField = "textField"
    },
    GraphArn = "graphArn"
};
```

Golang:

```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"

neptuneAnalyticsConfigurationProperty := &NeptuneAnalyticsConfigurationProperty{
	FieldMapping: &NeptuneAnalyticsFieldMappingProperty{
		MetadataField: jsii.String("metadataField"),
		TextField: jsii.String("textField"),
	},
	GraphArn: jsii.String("graphArn"),
}
```

## Properties

- `fieldMapping`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.NeptuneAnalyticsFieldMappingProperty.html) (required) — Contains the names of the fields to which to map information about the vector store.

- `graphArn`: string (required) — The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
