View a markdown version of this page

MetadataConfiguration - Amazon Bedrock

MetadataConfiguration

Contains the configuration of a single custom metadata field in a knowledge base, including its name, data type, and whether the field is searchable.

Contents

name

The name of the custom metadata field.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: [a-zA-Z0-9_][a-zA-Z0-9_-]*

Required: Yes

searchability

Specifies whether the custom metadata field is searchable. Valid values:

  • ENABLED – The field is searchable.

  • DISABLED – The field is not searchable.

Type: String

Valid Values: ENABLED | DISABLED

Required: Yes

type

The data type of the custom metadata field. Valid values are STRING and STRING_LIST.

Type: String

Valid Values: STRING | STRING_LIST

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: