# RdsFieldMappingProperty

Contains the names of the fields to which to map information about the vector store.

- Source: Generated code
- Type last changed: v2.191.0 · 23 Apr 2025

## Example

```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 rdsFieldMappingProperty: bedrock.CfnKnowledgeBase.RdsFieldMappingProperty = {
  metadataField: 'metadataField',
  primaryKeyField: 'primaryKeyField',
  textField: 'textField',
  vectorField: 'vectorField',

  // the properties below are optional
  customMetadataField: 'customMetadataField',
};
```

## Properties

- `customMetadataField`: string — Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.

- `metadataField`: string (required) — The name of the field in which Amazon Bedrock stores metadata about the vector store.

- `primaryKeyField`: string (required) — The name of the field in which Amazon Bedrock stores the ID for each entry.

- `textField`: string (required) — The name of the field in which Amazon Bedrock stores the raw text from your data.

  The text is split according to the chunking strategy you choose.

- `vectorField`: string (required) — The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
