primaryKeyFieldstringprimary_key_fieldstrprimaryKeyFieldStringPrimaryKeyFieldstringPrimaryKeyField*string required #The name of the field in which Amazon Bedrock stores the ID for each entry.
Contains the names of the fields to which to map information about the vector store.
| Source | Generated at build time |
|---|---|
| Type last changed | v2.191.0 · 23 Apr 2025 |
// 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',
};
# 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
rds_field_mapping_property = bedrock.CfnKnowledgeBase.RdsFieldMappingProperty(
metadata_field="metadataField",
primary_key_field="primaryKeyField",
text_field="textField",
vector_field="vectorField",
# the properties below are optional
custom_metadata_field="customMetadataField"
)
// 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.*;
RdsFieldMappingProperty rdsFieldMappingProperty = RdsFieldMappingProperty.builder()
.metadataField("metadataField")
.primaryKeyField("primaryKeyField")
.textField("textField")
.vectorField("vectorField")
// the properties below are optional
.customMetadataField("customMetadataField")
.build();
// 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 rdsFieldMappingProperty = new RdsFieldMappingProperty {
MetadataField = "metadataField",
PrimaryKeyField = "primaryKeyField",
TextField = "textField",
VectorField = "vectorField",
// the properties below are optional
CustomMetadataField = "customMetadataField"
};
// 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"
rdsFieldMappingProperty := &RdsFieldMappingProperty{
MetadataField: jsii.String("metadataField"),
PrimaryKeyField: jsii.String("primaryKeyField"),
TextField: jsii.String("textField"),
VectorField: jsii.String("vectorField"),
// the properties below are optional
CustomMetadataField: jsii.String("customMetadataField"),
}
customMetadataField?optionalstringcustom_metadata_field?optionalstrcustomMetadataField?optionalStringCustomMetadataField?optionalstringCustomMetadataField?optional*string #metadataFieldstringmetadata_fieldstrmetadataFieldStringMetadataFieldstringMetadataField*string required #primaryKeyFieldstringprimary_key_fieldstrprimaryKeyFieldStringPrimaryKeyFieldstringPrimaryKeyField*string required #The text is split according to the chunking strategy you choose.